Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] yep: send x-csrf-protection header to bypass botdetection

Bnyroff8f5ddcc9f2
diff --git a/searx/engines/yep.py b/searx/engines/yep.py
index d98920fc0..f91077253 100644
--- a/searx/engines/yep.py
+++ b/searx/engines/yep.py
@@ -48,6 +48,7 @@ def request(query: str, params: "OnlineParams") -> None:
{
"Referer": f"{web_base_url}/",
"Origin": web_base_url,
+ "x-csrf-protection": "1",
}
)