Merge pull request #1238 from MarcAbonce/duckduckgo

[fix] Change duckduckgo url to avoid error response
This commit is contained in:
Adam Tauber 2018-03-15 10:26:49 +01:00 committed by GitHub
commit 1a2e9268a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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