mirror of
https://github.com/R0m1k3/Priceflow.git
synced 2026-10-12 01:39:25 +02:00
Merge pull request #8 from R0m1k3/claude/design-product-search-01Ea9dWZqZpuKFwBwVmp26PG
fix: Add X-Forwarded-For header to SearXNG requests to bypass bot det…
This commit is contained in:
2 files changed
+7
No files matched your search
@@ -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()
|
||||
|
||||
@@ -8,6 +8,11 @@ server:
|
||||
image_proxy: false
|
||||
port: 8080
|
||||
bind_address: "0.0.0.0"
|
||||
method: "GET"
|
||||
|
||||
# Disable bot detection for internal API use
|
||||
redis:
|
||||
url: false
|
||||
|
||||
search:
|
||||
safe_search: 0
|
||||
|
||||
Reference in new issue
Block a user