mirror of
https://github.com/searxng/searxng.git
synced 2026-10-19 09:54:24 +00:00
[fix] engines: tusksearch requires cors headers for botdetection (#6773)
Some checks failed
Documentation / Release (push) Has been cancelled
Integration / Python 3.11 (push) Has been cancelled
Integration / Python 3.12 (push) Has been cancelled
Integration / Python 3.13 (push) Has been cancelled
Integration / Python 3.14 (push) Has been cancelled
Integration / Theme (push) Has been cancelled
Sync / Codeberg (push) Has been cancelled
Some checks failed
Documentation / Release (push) Has been cancelled
Integration / Python 3.11 (push) Has been cancelled
Integration / Python 3.12 (push) Has been cancelled
Integration / Python 3.13 (push) Has been cancelled
Integration / Python 3.14 (push) Has been cancelled
Integration / Theme (push) Has been cancelled
Sync / Codeberg (push) Has been cancelled
Sec-Fetch-Mode and Sec-Fetch-Dest headers now mandatory
This commit is contained in:
parent
783a094625
commit
3cd69d30e2
1 changed files with 2 additions and 0 deletions
|
|
@ -98,6 +98,8 @@ def request(query: str, params: "OnlineParams") -> None:
|
|||
"Referer": "https://tusksearch.com/",
|
||||
"Origin": "https://tusksearch.com",
|
||||
"Sec-Fetch-Site": "same-site",
|
||||
"Sec-Fetch-Mode": "cors",
|
||||
"Sec-Fetch-Dest": "empty",
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue