[fanbox] update API headers (#7490)

This commit is contained in:
Mike Fährmann
2025-05-10 20:23:04 +02:00
parent cd01eacd3d
commit 2755425ddd

View File

@@ -30,8 +30,13 @@ class FanboxExtractor(Extractor):
def _init(self):
self.headers = {
"Accept": "application/json, text/plain, */*",
"Origin": self.root,
"Accept" : "application/json, text/plain, */*",
"Origin" : "https://www.fanbox.cc",
"Referer": "https://www.fanbox.cc/",
"Cookie" : None,
"Sec-Fetch-Dest": "empty",
"Sec-Fetch-Mode": "cors",
"Sec-Fetch-Site": "same-site",
}
self.embeds = self.config("embeds", True)