diff --git a/docs/configuration.rst b/docs/configuration.rst index f76014f5..3e888771 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -673,7 +673,7 @@ extractor.*.browser Type ``string`` Default - * ``"firefox"``: ``artstation``, ``mangasee``, ``twitter`` + * ``"firefox"``: ``mangasee``, ``twitter`` * ``null``: otherwise Example * ``"chrome:macos"`` @@ -749,8 +749,7 @@ extractor.*.tls12 Type ``bool`` Default - * ``false``: ``artstation`` - * ``true``: otherwise + ``true`` Description Allow selecting TLS 1.2 cipher suites. @@ -1514,7 +1513,7 @@ Description * ``facets``: ``hashtags``, ``mentions``, and ``uris`` * ``user``: detailed ``user`` metadata for the user referenced in the input URL - (See `app.bsky.actor.getProfile `__). + (See `app.bsky.actor.getProfile `__). @@ -1527,7 +1526,7 @@ Default Description Sets the maximum depth of returned reply posts. - (See `depth` parameter of `app.bsky.feed.getPostThread `__) + (See `depth` parameter of `app.bsky.feed.getPostThread `__) extractor.bluesky.quoted diff --git a/gallery_dl/extractor/artstation.py b/gallery_dl/extractor/artstation.py index ce1a78d5..c0119380 100644 --- a/gallery_dl/extractor/artstation.py +++ b/gallery_dl/extractor/artstation.py @@ -21,14 +21,15 @@ class ArtstationExtractor(Extractor): filename_fmt = "{category}_{id}_{asset[id]}_{title}.{extension}" directory_fmt = ("{category}", "{userinfo[username]}") archive_fmt = "{asset[id]}" - browser = "firefox" - tls12 = False root = "https://www.artstation.com" def __init__(self, match): Extractor.__init__(self, match) self.user = match.group(1) or match.group(2) + def _init(self): + self.session.headers["Cache-Control"] = "max-age=0" + def items(self): videos = self.config("videos", True) previews = self.config("previews", False)