[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

Sec-Fetch-Mode and Sec-Fetch-Dest headers now mandatory
This commit is contained in:
Brock Vojkovic 2026-09-23 23:18:45 +08:00 • committed by GitHub
parent 783a094625
commit 3cd69d30e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",
}
)