Markus Heiser 9197efa2a7 [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 257dc7d6c4 --> 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] https://github.com/searxng/searxng/pull/2161
[2] https://github.com/searxng/searxng/pull/2081

Closes: https://github.com/searxng/searxng/issues/2796
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2023-10-10 08:40:53 +02:00
..
2023-03-15 19:55:20 +01:00
2023-09-18 16:20:27 +02:00
2022-09-23 20:45:58 +02:00
2023-09-28 08:24:51 +02:00
2023-10-01 08:01:38 +02:00
2023-09-18 16:20:27 +02:00
2023-09-14 17:39:23 +02:00
2022-08-10 09:14:36 +02:00
2021-12-27 10:16:20 +01:00
2021-01-14 20:57:17 +01:00
2023-10-01 08:19:45 +02:00
2022-01-05 11:00:11 +01:00
2023-09-18 16:20:27 +02:00
2023-09-18 16:20:27 +02:00
2022-01-28 22:33:41 +01:00
2022-07-04 19:06:45 +02:00
2023-09-11 19:42:31 +02:00
2022-11-07 08:07:06 -06:00
2023-09-18 16:20:27 +02:00
2023-09-18 16:20:27 +02:00
2023-09-14 18:40:15 +02:00
2023-09-14 19:21:21 +02:00
2022-01-02 21:18:29 +01:00
2023-09-14 18:03:21 +02:00
2023-09-18 16:20:27 +02:00
2023-09-12 20:38:36 +02:00
2023-09-18 16:20:27 +02:00
2022-01-30 19:48:40 +01:00
2023-09-18 16:20:27 +02:00
2021-12-27 10:16:20 +01:00