Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] duckduckgo lite engine: set HTTP header 'Referer'
We have had problems with this before, the bot protection from ddg-lite seems to have included this referer in the rating [1][2]. From reverse engineering: - The Referer ``https://google.com/`` was set in commt 257dc7d --> DDG lite does not like this referer anymore! - The 'Referer' header is only set on second and follow up pages but not on the first page - The vqd value is not needed on the first page, the ddg-lite client sets this value only on follow up pages / this can help to reduce the vqd requests from SearXNG. Related to 'Referer' header & ddg requests: [1] #2161 [2] #2081 Closes: #2796 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
- Loading branch information