summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2025-11-20 13:30:12 +0100
committerBnyro <bnyro@tutanota.com>2025-11-20 13:48:13 +0100
commit041f457dfa92e3dbb33e9cdb7de2ce9024869b7d (patch)
tree470c5fe0a5f013aef3d0a067ccce98ac6a5da92f /searx
parentaf111e413cc8b5c64ba5b0d4f10eb94239de3aa7 (diff)
[fix] presearch engine: blocked by captcha on every request
Presearch responds with a Cloudflare captcha on each request when using HTTP2. Using HTTP1.1, everything seems to work fine. - other engines with the same issue: pixabay, uxwing - closes https://github.com/searxng/searxng/issues/5438
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/presearch.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/engines/presearch.py b/searx/engines/presearch.py
index 36b754f87..69fbdfa91 100644
--- a/searx/engines/presearch.py
+++ b/searx/engines/presearch.py
@@ -89,6 +89,9 @@ time_range_support = True
send_accept_language_header = True
categories = ["general", "web"] # general, images, videos, news
+# HTTP2 requests immediately get blocked by a CAPTCHA
+enable_http2 = False
+
search_type = "search"
"""must be any of ``search``, ``images``, ``videos``, ``news``"""