summaryrefslogtreecommitdiff
path: root/searx/engines/yacy.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/yacy.py')
-rw-r--r--searx/engines/yacy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/yacy.py b/searx/engines/yacy.py
index 25bc83687..f1d4c6abe 100644
--- a/searx/engines/yacy.py
+++ b/searx/engines/yacy.py
@@ -75,7 +75,7 @@ def response(resp):
for result in search_results[0].get('items', []):
# parse image results
- if result.get('image'):
+ if result.get('image') and result.get('width') and result.get('height'):
result_url = ''
if 'url' in result: