[hitomi] extract 'title_jpn' metadata (#5706)

This commit is contained in:
Mike Fährmann
2024-06-08 00:05:19 +02:00
parent 722b4b513d
commit f160859c5c
2 changed files with 55 additions and 3 deletions

View File

@@ -58,6 +58,7 @@ class HitomiGalleryExtractor(GalleryExtractor):
return {
"gallery_id": text.parse_int(info["id"]),
"title" : info["title"],
"title_jpn" : info.get("japanese_title") or "",
"type" : info["type"].capitalize(),
"language" : language,
"lang" : util.language_to_code(language),