diff --git a/docs/configuration.rst b/docs/configuration.rst index 816a008e..f953bad7 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -706,7 +706,7 @@ extractor.*.user-agent Type ``string`` Default - * ``"gallery-dl/VERSION"``: ``[Danbooru]``, ``mangadex``, ``weasyl`` + * ``"gallery-dl/VERSION"``: ``[Danbooru]``, ``mangadex``, ``weasyl``, ``zerochan`` * ``"gallery-dl/VERSION (by mikf)"``: ``[E621]`` * ``"net.umanle.arca.android.playstore/0.9.75"``: ``arcalive`` * ``"Patreon/72.2.28 (Android; Android 14; Scale/2.10)"``: ``patreon`` diff --git a/gallery_dl/extractor/zerochan.py b/gallery_dl/extractor/zerochan.py index e1b4897d..d3352c03 100644 --- a/gallery_dl/extractor/zerochan.py +++ b/gallery_dl/extractor/zerochan.py @@ -26,6 +26,7 @@ class ZerochanExtractor(BooruExtractor): per_page = 250 cookies_domain = ".zerochan.net" cookies_names = ("z_id", "z_hash") + useragent = util.USERAGENT request_interval = (0.5, 1.5) def login(self):