aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/skeb.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/skeb.py')
-rw-r--r--gallery_dl/extractor/skeb.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/gallery_dl/extractor/skeb.py b/gallery_dl/extractor/skeb.py
index 6ec44ba..07c9b21 100644
--- a/gallery_dl/extractor/skeb.py
+++ b/gallery_dl/extractor/skeb.py
@@ -26,7 +26,11 @@ class SkebExtractor(Extractor):
def _init(self):
self.thumbnails = self.config("thumbnails", False)
self.article = self.config("article", False)
- self.headers = {"Accept": "application/json, text/plain, */*"}
+ self.headers = {
+ "Accept": "application/json, text/plain, */*",
+ "sec-fetch-mode": "cors",
+ "sec-fetch-site": "same-origin",
+ }
if "Authorization" not in self.session.headers:
self.headers["Authorization"] = "Bearer null"