From 216716db70753cf91e449e4b82d6331e71aa0d5a Mon Sep 17 00:00:00 2001 From: Marc Abonce Seguin Date: Wed, 14 Mar 2018 23:18:42 -0600 Subject: [PATCH] [fix] change duckduckgo url to avoid error response --- searx/engines/duckduckgo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py index 6f8797fed..e51332618 100644 --- 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',