fix: Disable SearXNG public_instance and add User-Agent header

This commit is contained in:
Claude committed 2025-11-22 11:55:14 +00:00
1 parent 058a2e46ed
commit 5caee6dee4
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -71,6 +71,7 @@ async def search(
},
headers={
"Accept": "application/json",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
"X-Forwarded-For": "127.0.0.1",
"X-Real-IP": "127.0.0.1",
},