on master help sign in
Fix YaCy text results returned as images
commit71db7b1238001756a45a51018774bd9df8c81a39 authorSophie Tauchert <999eagle@999eagle.moe> dateMon 29 Jun 2020, 14:48 (6 years ago) parentfe72c7a
1 file changed+1−1
searx/engines/yacy.py+1−1
searx/engines/yacy.py+1−1
@@ -75,7 +75,7 @@ def response(resp):
7575
7676 for result in search_results[0].get('items', []):
7777 # parse image results
78− if result.get('image'):
78+ if result.get('image') and result.get('width') and result.get('height'):
7979
8080 result_url = ''
8181 if 'url' in result: