diff options
author | Adam Tauber <asciimoo@gmail.com> | 2020-06-29 15:29:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-29 15:29:33 +0200 |
commit | 460401293ca8c57444f7a2e5709f2575b98ecfc2 (patch) | |
tree | d8569fd89db046e68a0e6f36d4710d4c9b8c9888 | |
parent | fe72c7a6fd5622a78e271337a6cbc8416168add5 (diff) | |
parent | 71db7b1238001756a45a51018774bd9df8c81a39 (diff) | |
download | searxng-460401293ca8c57444f7a2e5709f2575b98ecfc2.tar.gz searxng-460401293ca8c57444f7a2e5709f2575b98ecfc2.zip |
Merge pull request #2036 from 999eagle/patch-yacy
Fix YaCy text results returned as images
-rw-r--r-- | searx/engines/yacy.py | 2 |
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: |