mirror of https://github.com/searxng/searxng.git
Merge pull request #2036 from 999eagle/patch-yacy
Fix YaCy text results returned as images
This commit is contained in:
commit
460401293c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue