[exhentai][schalenetwork] enable 'tags' categories by default

This commit is contained in:
Mike Fährmann
2026-02-03 10:49:35 +01:00
parent d232f0d252
commit 5ddee423ed
4 changed files with 7 additions and 7 deletions

View File

@@ -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"])