mirror of
https://github.com/searxng/searxng
synced 2024-11-03 09:40:20 +00:00
fix findx engine
This commit is contained in:
parent
e6aaf20898
commit
25b48143ea
@ -49,7 +49,7 @@ def response(resp):
|
|||||||
results_json = loads(extract_text(results_raw_json))
|
results_json = loads(extract_text(results_raw_json))
|
||||||
|
|
||||||
if len(results_json['web']['results']) > 0:
|
if len(results_json['web']['results']) > 0:
|
||||||
return _general_results(results_json['web']['results'])
|
return _general_results(results_json['web']['results']['webSearch']['results'])
|
||||||
|
|
||||||
if len(results_json['images']['results']) > 0:
|
if len(results_json['images']['results']) > 0:
|
||||||
return _images_results(results_json['images']['results'])
|
return _images_results(results_json['images']['results'])
|
||||||
|
Loading…
Reference in New Issue
Block a user