Pārlūkot izejas kodu

fix findx engine

Noémi Ványi 6 gadus atpakaļ
vecāks
revīzija
25b48143ea
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      searx/engines/findx.py

+ 1
- 1
searx/engines/findx.py Parādīt failu

@@ -49,7 +49,7 @@ def response(resp):
49 49
     results_json = loads(extract_text(results_raw_json))
50 50
 
51 51
     if len(results_json['web']['results']) > 0:
52
-        return _general_results(results_json['web']['results'])
52
+        return _general_results(results_json['web']['results']['webSearch']['results'])
53 53
 
54 54
     if len(results_json['images']['results']) > 0:
55 55
         return _images_results(results_json['images']['results'])