summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
Diffstat (limited to 'searx')
-rwxr-xr-xsearx/engines/google_images.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py
index 2db4fb0e2..cacebeaf1 100755
--- a/searx/engines/google_images.py
+++ b/searx/engines/google_images.py
@@ -23,5 +23,7 @@ def response(resp):
for result in search_res['responseData']['results']:
url = result['originalContextUrl']
title = result['title']
+ if not result['url']:
+ continue
results.append({'url': url, 'title': title, 'content': '', 'img_src': result['url'], 'template': 'images.html'})
return results