commit: 1a2e9268a08e20adab62ba305ec9375db84fd5a4
parent: b918b29f90ef874381987c2209a4615745286524
Author: Adam Tauber <asciimoo@gmail.com>
Date: Thu, 15 Mar 2018 10:26:49 +0100
Merge pull request #1238 from MarcAbonce/duckduckgo
[fix] Change duckduckgo url to avoid error response
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py
@@ -27,7 +27,7 @@ supported_languages_url = 'https://duckduckgo.com/d2030.js'
time_range_support = True
# 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_dict = {'day': 'd',