mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
no desc
This commit is contained in:
@@ -23,7 +23,7 @@ class DuckDuckGo:
|
||||
query = query
|
||||
try:
|
||||
search_result = requests.get(self.url + query + _key)
|
||||
except Error as e:
|
||||
except Exception as e:
|
||||
return False
|
||||
try:
|
||||
image_result = search_result.json()["Image"]
|
||||
|
||||
Reference in New Issue
Block a user