commit: 216716db70753cf91e449e4b82d6331e71aa0d5a
parent b918b29f90ef874381987c2209a4615745286524
Author: Marc Abonce Seguin <marc-abonce@mailbox.org>
Date: Wed, 14 Mar 2018 23:18:42 -0600
[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',