From 5ddee423ed36049911800a6c52f8fc780b86c566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 3 Feb 2026 10:49:35 +0100 Subject: [PATCH] [exhentai][schalenetwork] enable 'tags' categories by default --- docs/configuration.rst | 4 ++-- docs/gallery-dl.conf | 6 +++--- gallery_dl/extractor/exhentai.py | 2 +- gallery_dl/extractor/schalenetwork.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index c686ec93..27dda171 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -3068,7 +3068,7 @@ extractor.exhentai.tags Type ``bool`` Default - ``false`` + ``true`` Description Group ``tags`` by type and provide them as ``tags_`` metadata fields, @@ -5564,7 +5564,7 @@ extractor.schalenetwork.tags Type ``bool`` Default - ``false`` + ``true`` Description Group ``tags`` by type and provide them as ``tags_`` metadata fields, diff --git a/docs/gallery-dl.conf b/docs/gallery-dl.conf index 484997ec..0326f00c 100644 --- a/docs/gallery-dl.conf +++ b/docs/gallery-dl.conf @@ -326,7 +326,7 @@ "metadata": false, "original": true, "source" : null, - "tags" : false, + "tags" : true, "limits" : null, "limits-action" : "stop", "fallback-retries": 2 @@ -416,7 +416,7 @@ "cbz" : false, "format": ["0", "1600", "1280", "980", "780"], - "tags" : false + "tags" : true }, "hentaifoundry": { @@ -745,7 +745,7 @@ "cbz" : false, "format": ["0", "1600", "1280", "980", "780"], - "tags" : false + "tags" : true }, "scrolller": { diff --git a/gallery_dl/extractor/exhentai.py b/gallery_dl/extractor/exhentai.py index b620a05b..a84dee0f 100644 --- a/gallery_dl/extractor/exhentai.py +++ b/gallery_dl/extractor/exhentai.py @@ -247,7 +247,7 @@ class ExhentaiGalleryExtractor(ExhentaiExtractor): if self.config("metadata", False): data.update(self.metadata_from_api()) data["date"] = self.parse_timestamp(data["posted"]) - if self.config("tags", False): + if self.config("tags", True): tags = collections.defaultdict(list) for tag in data["tags"]: type, _, value = tag.partition(":") diff --git a/gallery_dl/extractor/schalenetwork.py b/gallery_dl/extractor/schalenetwork.py index db1bbb99..4a927b51 100644 --- a/gallery_dl/extractor/schalenetwork.py +++ b/gallery_dl/extractor/schalenetwork.py @@ -138,7 +138,7 @@ class SchalenetworkGalleryExtractor(SchalenetworkExtractor, GalleryExtractor): name = tag["name"] namespace = tag.get("namespace", 0) tags.append(types[namespace] + ":" + name) - if self.config("tags", False): + if self.config("tags", True): categories = collections.defaultdict(list) for tag in data["tags"]: categories[tag.get("namespace", 0)].append(tag["name"])