[fanbox] update API headers (#7490)
This commit is contained in:
@@ -30,8 +30,13 @@ class FanboxExtractor(Extractor):
|
|||||||
|
|
||||||
def _init(self):
|
def _init(self):
|
||||||
self.headers = {
|
self.headers = {
|
||||||
"Accept": "application/json, text/plain, */*",
|
"Accept" : "application/json, text/plain, */*",
|
||||||
"Origin": self.root,
|
"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)
|
self.embeds = self.config("embeds", True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user