summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines')
-rwxr-xr-xsearx/engines/google_images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py
index 27632e9b1..c1fadb19f 100755
--- a/searx/engines/google_images.py
+++ b/searx/engines/google_images.py
@@ -18,7 +18,7 @@ def response(resp):
search_res = loads(resp.text)
if 'responseData' not in search_res:
return []
- if 'results' not in search_res['responseData']:
+ if 'results' not in search_res['responseData'] and search_res['responseData']['results']:
return []
for result in search_res['responseData']['results']:
url = result['originalContextUrl']