[pixiv] rename "noop" value for 'tags' option to "original"

(#1507)
pull/1550/head
Mike Fährmann 3 years ago
parent 4e1d33cea3
commit 36ed1efcfb
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -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

@ -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):

Loading…
Cancel
Save