This commit is contained in:
th3r00t
2021-07-24 16:39:00 -04:00
parent 00f2629898
commit abfd62e67f

View File

@@ -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"]