mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 03:11:00 +00:00
Fix YaCy text results returned as images
This commit is contained in:
parent
fe72c7a6fd
commit
71db7b1238
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue