diff options
author | Adam Tauber <asciimoo@gmail.com> | 2018-03-15 10:26:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-15 10:26:49 +0100 |
commit | 1a2e9268a08e20adab62ba305ec9375db84fd5a4 (patch) | |
tree | 9b6a0df12eafa2bb0344533743e52fe3925c5622 | |
parent | b918b29f90ef874381987c2209a4615745286524 (diff) | |
parent | 216716db70753cf91e449e4b82d6331e71aa0d5a (diff) | |
download | searxng-1a2e9268a08e20adab62ba305ec9375db84fd5a4.tar.gz searxng-1a2e9268a08e20adab62ba305ec9375db84fd5a4.zip |
Merge pull request #1238 from MarcAbonce/duckduckgo
[fix] Change duckduckgo url to avoid error response
-rw-r--r-- | searx/engines/duckduckgo.py | 2 |
1 files changed, 1 insertions, 1 deletions
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', |