mirror of
https://github.com/searxng/searxng.git
synced 2026-09-25 15:46:06 +00:00
[fix] engines: tusksearch requires cors headers for botdetection (#6773)
Sec-Fetch-Mode and Sec-Fetch-Dest headers now mandatory
This commit is contained in:
@@ -98,6 +98,8 @@ def request(query: str, params: "OnlineParams") -> None:
|
|||||||
"Referer": "https://tusksearch.com/",
|
"Referer": "https://tusksearch.com/",
|
||||||
"Origin": "https://tusksearch.com",
|
"Origin": "https://tusksearch.com",
|
||||||
"Sec-Fetch-Site": "same-site",
|
"Sec-Fetch-Site": "same-site",
|
||||||
|
"Sec-Fetch-Mode": "cors",
|
||||||
|
"Sec-Fetch-Dest": "empty",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user