[hiperdex] use proper name for 'chapter_minor'

pull/644/head
Mike Fährmann 5 years ago
parent 8fbbaa54ff
commit 39b48d665b
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -53,7 +53,7 @@ class HiperdexBase():
chapter, _, minor = chapter.partition("-") chapter, _, minor = chapter.partition("-")
data = { data = {
"chapter" : text.parse_int(chapter), "chapter" : text.parse_int(chapter),
"chapter-minor": "." + minor if minor and minor != "end" else "", "chapter_minor": "." + minor if minor and minor != "end" else "",
} }
data.update(self.manga_data(self.manga.lower())) data.update(self.manga_data(self.manga.lower()))
return data return data
@ -69,7 +69,7 @@ class HiperdexChapterExtractor(HiperdexBase, ChapterExtractor):
"artist" : "Sasuga Kei", "artist" : "Sasuga Kei",
"author" : "Sasuga Kei", "author" : "Sasuga Kei",
"chapter": 154, "chapter": 154,
"chapter-minor": ".5", "chapter_minor": ".5",
"description": "re:Natsuo Fujii is in love with his teacher, Hina", "description": "re:Natsuo Fujii is in love with his teacher, Hina",
"genre" : list, "genre" : list,
"manga" : "Domestic na Kanojo", "manga" : "Domestic na Kanojo",
@ -104,7 +104,7 @@ class HiperdexMangaExtractor(HiperdexBase, MangaExtractor):
"artist" : "Bolp", "artist" : "Bolp",
"author" : "Abyo4", "author" : "Abyo4",
"chapter": int, "chapter": int,
"chapter-minor": "", "chapter_minor": "",
"description": "re:I didnt think much of the creepy girl in ", "description": "re:I didnt think much of the creepy girl in ",
"genre" : list, "genre" : list,
"manga" : "You're Not That Special!", "manga" : "You're Not That Special!",

Loading…
Cancel
Save