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