From 4874c8e1d1a31f6007a74101df03e4f81112b1fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 28 Jan 2025 11:36:06 +0100 Subject: [PATCH] [artstation] restore 'browser' and 'tls12' defaults partially revert 954796a4661f96f7d88b97271a0204f3da5c5455 --- docs/configuration.rst | 5 +++-- gallery_dl/extractor/artstation.py | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index 3e888771..beb74306 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -673,7 +673,7 @@ extractor.*.browser Type ``string`` Default - * ``"firefox"``: ``mangasee``, ``twitter`` + * ``"firefox"``: ``artstation``, ``mangasee``, ``twitter`` * ``null``: otherwise Example * ``"chrome:macos"`` @@ -749,7 +749,8 @@ extractor.*.tls12 Type ``bool`` Default - ``true`` + * ``false``: ``artstation`` + * ``true``: otherwise Description Allow selecting TLS 1.2 cipher suites. diff --git a/gallery_dl/extractor/artstation.py b/gallery_dl/extractor/artstation.py index 118728c4..f4487102 100644 --- a/gallery_dl/extractor/artstation.py +++ b/gallery_dl/extractor/artstation.py @@ -19,6 +19,8 @@ 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):