SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] heexy: blocked by cloudflare
Bnyro7fa9f162258c
diff --git a/searx/engines/heexy.py b/searx/engines/heexy.pyindex 1eadfb477..73abc44b3 100644--- a/searx/engines/heexy.py+++ b/searx/engines/heexy.py@@ -68,7 +68,9 @@ def _get_api_token(query: str) -> str:if cached_token:return cached_token- resp = get(f"{base_url}/search?q={query}", headers={"User-Agent": gen_useragent()})+ resp = get(+ f"{base_url}/search?q={query}", headers={"User-Agent": gen_useragent(), "Accept-Language": "en-US,en:q=0.9"}+ )if not resp.ok:raise SearxEngineAPIException("failed to obtain request token: invalid response code")@@ -76,7 +78,7 @@ def _get_api_token(query: str) -> str:if not token:raise SearxEngineAPIException("failed to obtain request token: no token found")- CACHE.set("token", token)+ CACHE.set("token", token, expire=3 * 60)return token