Browse Source

[fix] change duckduckgo url to avoid error response

Marc Abonce Seguin 6 years ago
parent
commit
216716db70
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      searx/engines/duckduckgo.py

+ 1
- 1
searx/engines/duckduckgo.py View File

@@ -27,7 +27,7 @@ supported_languages_url = 'https://duckduckgo.com/d2030.js'
27 27
 time_range_support = True
28 28
 
29 29
 # search-url
30
-url = 'https://duckduckgo.com/html?{query}&s={offset}&api=/d.js&o=json&dc={dc_param}'
30
+url = 'https://duckduckgo.com/html?{query}&s={offset}&dc={dc_param}'
31 31
 time_range_url = '&df={range}'
32 32
 
33 33
 time_range_dict = {'day': 'd',