diff options
author | Markus Heiser <markus.heiser@darmarIT.de> | 2023-02-03 10:35:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 10:35:52 +0100 |
commit | 9faf0dc2891e1509861e0be9ff9db67f833f8d82 (patch) | |
tree | a8bcbb596108b9941b9c65bdd04b047ba9d90ea2 | |
parent | d9ab83642f3b398c36f808bd8b08dc3b482722f4 (diff) | |
parent | 257dc7d6c40a8c4bae682c6e7e6b764a98c4ec96 (diff) | |
download | searxng-9faf0dc2891e1509861e0be9ff9db67f833f8d82.tar.gz searxng-9faf0dc2891e1509861e0be9ff9db67f833f8d82.zip |
Merge pull request #2161 from return42/fix-2146
[fix-2146] set different HTTP Referer header to DuckDuckGo requests
-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 84198afc5..2a7956ca8 100644 --- a/searx/engines/duckduckgo.py +++ b/searx/engines/duckduckgo.py @@ -73,7 +73,7 @@ def request(query, params): # link again and again .. params['headers']['Content-Type'] = 'application/x-www-form-urlencoded' - params['headers']['Referer'] = 'https://lite.duckduckgo.com/' + params['headers']['Referer'] = 'https://google.com/' # initial page does not have an offset if params['pageno'] == 2: |