on master help sign in
Merge pull request #2036 from 999eagle/patch-yacy

Fix YaCy text results returned as images

commit460401293ca8c57444f7a2e5709f2575b98ecfc2 authorAdam Tauber <asciimoo@gmail.com> dateMon 29 Jun 2020, 15:29 (6 years ago) parentfe72c7a71db7b1
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: