From 36ed1efcfb8d1e4a8e63ea05a7dda2521877b217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 7 May 2021 20:41:54 +0200 Subject: [PATCH] [pixiv] rename "noop" value for 'tags' option to "original" (#1507) --- docs/configuration.rst | 6 +++--- gallery_dl/extractor/pixiv.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index b4f85f6d..0cd00db5 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -1339,11 +1339,11 @@ Type Default ``"japanese"`` Description - Controls how ``tags`` metadata is transformed. + Controls the ``tags`` metadata field. - * `"japanese"`: List of original Japanese tags + * `"japanese"`: List of Japanese tags * `"translated"`: List of translated tags - * `"noop"`: Unmodified list of both Japanese and translated tags + * `"original"`: Unmodified list with both Japanese and translated tags extractor.pixiv.ugoira diff --git a/gallery_dl/extractor/pixiv.py b/gallery_dl/extractor/pixiv.py index eae92aee..58e805db 100644 --- a/gallery_dl/extractor/pixiv.py +++ b/gallery_dl/extractor/pixiv.py @@ -32,7 +32,7 @@ class PixivExtractor(Extractor): def items(self): tags = self.config("tags", "japanese") - if tags == "noop": + if tags == "original": transform_tags = None elif tags == "translated": def transform_tags(work):