Commit Graph

1586 Commits (14323d683f1a9749fd18ccb0c59cd9bea45aa560)

Author SHA1 Message Date
Markus Heiser 14323d683f [fix] ddg-lite & ddg-extra: don't send empty vqd value
DDG's bot detection is sensitive to the vqd value.  For some search terms (such
as extremely long search terms that are often sent by bots), no vqd value can be
determined.

If SearXNG cannot determine a vqd value, then no request should go out to
DDG (WEB): a request with a wrong vqd value leads to DDG temporarily putting
SearXNG's IP on a block list.

Requests from IPs in this block list run into timeouts.

Not sure, but it seems the block list is a sliding window: to get my IP rid from
the bot list I had to cool down my IP for 1h (send no requests from that IP to
DDG).

Since such issues can't reproduce in a local instance I tested this patch 24h on
my public SearXNG instance: There are still errors (rare), but the reliability
is still 100%.

Related:

- https://github.com/searxng/searxng/pull/2922
- https://github.com/searxng/searxng/pull/2923

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
11 months ago
Markus Heiser 3388441917 [fix] ddg-lite vqd value: some search terms do not have a vqd value
Some search terms do not have results and therefore no vqd value

BTW: remove a leftover from 9197efa

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
12 months ago
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>
12 months ago
Bnyro fa5b2a7948 [mod] yacy: use official instance by default and fix crashes 12 months ago
Hackurei ff78b1a902 [feat] implement hackernews engine - news.ycombinator.com 12 months ago
Aine 213cb74378 [fix] matrixrooms add proper MRS integration
Related:

- https://github.com/searxng/searxng/issues/2918
12 months ago
Bnyro 48cb58bd2e [feat] duckduckgo: support for videos and news 12 months ago
Bnyro c3ab49cd90 [fix] kickass: crash when no results 12 months ago
Bnyro f22daf8b47 [mod] piped: always show video length if available 12 months ago
Bnyro ce270961e8 [feat] engine: implementation of mastodon 12 months ago
Markus Heiser fd1422a670 [mod] engine - simplify region & lang handling, make filters configurable
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
12 months ago
Bnyro 3e2ae756f0 [feat] engine: implementation of radio-browser.info 12 months ago
Jinyuan Huang e509cb7c45 [typo] solved a typo in yahoo error message. 12 months ago
Jinyuan Huang d4d9f2073e [fix] Bug: Yahoo results for simplified Chinese search sometimes have the first character cut off #2866
Co-authored-by: Blair Noctis <n@sail.ng>
12 months ago
Bnyro fe9386b58d [fix] emojipedia: fix engine 12 months ago
Markus Heiser 32a4ea350e [fix] Revision of the Bing engines
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
12 months ago
jazzzooo 079636c079 [fix] engine - bing fix search, pagination, remove safesearch 12 months ago
Bnyro 5ce1792432 [feat] engine: implementation of pinterest 12 months ago
Bnyro 6096457e4d [fix] matrixrooms.info: pagination not working properly 12 months ago
Markus Heiser e1a8b8189f [fix] engine - moviepilot instead of thumbnail use img_src
Instead of thumbnail use img_src in the result item, otherwise the "movies"
categories looks clunky.

Related:

- b4e0d2eedc (r128785388)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
12 months ago
Bnyro 159629c588 [mod] tagesschau: add option to only use tagesschau urls 12 months ago
Bnyro 2ca60a19fc [feat] engine: implementation of matrixrooms.info 12 months ago
Bnyro fc4a20f734 [mod] add movies category for tmdb, imdb and moviepilot 12 months ago
jazzzooo e37d775fa2 [fix] engine - currency fix and simplify 12 months ago
Jinyuan Huang ae28d429c9 [fix] bilibili new api used 12 months ago
jazzzooo 1a66d74673 [fix] engine - kickass update url, fix parsing, use multiple mirrors 12 months ago
Markus Heiser b428ccc5a0 [fix] engine brave - fetch traits (modified settings menu)
Brave has changed it settings menu fundamental.  Region codes are no longer in
the HTML page, we have to read the regional codes from a JS:

  https://cdn.search.brave.com/serp/v2/_app/immutable/chunks/parameters.734c106a.js

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
12 months ago
Markus Heiser 3a456b1282 [fix] engine annas archive - fetch traits (modified xpath selectors)
Anna’s Archive has cleaned up their languages, available file extensions and
changed the HTML form.

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
12 months ago
Émilien (perso) 1851f27154
[mod] remove twitter (#2843) 1 year ago
Bnyro 75c9de02d1 [feat] engine: implementation of imgur 1 year ago
Bnyro fb72f71f0a [fix] internet archive scholar: crash when there's no title 1 year ago
Markus Heiser 71358e9c67 Revert "[fix] engine - duckduckgo vqd edge-case"
This reverts commit 102502a4f0.
1 year ago
Bnyro 51236ae47a [feat] engine: implementation of chefkoch.de 1 year ago
jazzzooo 8bcca0e620 [fix] engine - brave don't show ads 1 year ago
jazzzooo b729542a66 [fix] engine - google images error when no results 1 year ago
Bnyro cc2e0537a3 [feat] engine: implementation of google icons/material design icons 1 year ago
Bnyro c999cfb422 [feat] engine: implementation of wallhaven 1 year ago
jazzzooo 102502a4f0 [fix] engine - duckduckgo vqd edge-case 1 year ago
Markus Heiser 043dcbf7c5 [fix] engine qwant (web-lite) - ignore advertising adds
Closes: https://github.com/searxng/searxng/issues/2812
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
Émilien (perso) ad725ce7d7
wikipedia wikidata infobox + disable wikisource (#2806)
Co-authored-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
Bnyro efd3a2d6d1 [feat] engine: implementation of internet archive scholar 1 year ago
jazzzooo 223b3487c3 [fix] spelling 1 year ago
Markus Heiser a9b6963971 [fix] engine - qwant delivers only 5 pages maximum
all qwant engines (incl qwant-lite) delivers only 5 pages maximum

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
jazzzooo da1446c5ed [fix] engine - qwant wrong error type 1 year ago
Markus Heiser 7398d525c8 [fix] qwant: subsequent fix of commit d9dbcedeb
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
Markus Heiser d9dbcedeb6 [feat] implementation of qwant lite for web search
Related: https://github.com/searxng/searxng/issues/2719
Replace: https://github.com/searxng/searxng/pull/2748
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
1 year ago
Bnyro b4e0d2eedc [feat] engine: implemenation of moviepilot (de) 1 year ago
jazzzooo 7dfcc3386e [fix] tagesschau videos 1 year ago
jazzzooo ec540a967a [fix] brave.videos 1 year ago
jazzzooo 27477f51fd [fix] brave.news 1 year ago