@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user