fix: Add X-Forwarded-For header to SearXNG requests to bypass bot detection

This commit is contained in:
Claude committed 2025-11-22 11:23:08 +00:00
1 parent 9235ad444a
commit 20080aee74
2 files changed
+7

No files matched your search

+2
View File
@@ -67,6 +67,8 @@ async def search(
},
headers={
"Accept": "application/json",
"X-Forwarded-For": "127.0.0.1",
"X-Real-IP": "127.0.0.1",
},
)
response.raise_for_status()