From 323ce7600444e98c1adcd4f0a9c109e9495a7748 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 22 May 2026 21:58:34 +0200 Subject: [PATCH] [fix] startpage: all requests get blocked with CAPTCHA Changes: - Setting the "abp" query parameter causes instant blocks, it's no longer used at Startpage - The safesearch map changed for both the request form and the cookies. As we were sending invalid values, that also made it easier to detect us --- searx/engines/startpage.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/searx/engines/startpage.py b/searx/engines/startpage.py index 8e890ec98..ee9979b2c 100644 --- a/searx/engines/startpage.py +++ b/searx/engines/startpage.py @@ -134,7 +134,7 @@ time_range_support = True safesearch = True time_range_dict = {"day": "d", "week": "w", "month": "m", "year": "y"} -safesearch_dict = {0: "1", 1: "0", 2: "0"} +safesearch_dict = {0: "none", 1: "moderate", 2: "heavy"} # search-url base_url = "https://www.startpage.com" @@ -251,9 +251,10 @@ def request(query, params): "t": "device", "sc": get_sc_code(params), "with_date": time_range_dict.get(params["time_range"], ""), - "abp": "1", "abd": "1", "abe": "1", + "qsr": "all", + "qadf": safesearch_dict[params["safesearch"]], } if engine_language: