Browse Source

Merge pull request #1238 from MarcAbonce/duckduckgo

[fix] Change duckduckgo url to avoid error response
Adam Tauber 6 years ago
parent
commit
1a2e9268a0
No account linked to committer's email
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
 time_range_support = True
27
 time_range_support = True
28
 
28
 
29
 # search-url
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
 time_range_url = '&df={range}'
31
 time_range_url = '&df={range}'
32
 
32
 
33
 time_range_dict = {'day': 'd',
33
 time_range_dict = {'day': 'd',