Unverified Commit 829d4793 authored by Adam Tauber's avatar Adam Tauber Committed by GitHub

Merge pull request #1277 from kvch/fix-findx-engine

Fix findx engine
parents e6aaf208 25b48143
......@@ -49,7 +49,7 @@ def response(resp):
results_json = loads(extract_text(results_raw_json))
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:
return _images_results(results_json['images']['results'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment