[fanbox] update API headers (#7490)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user