1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00

[hiperdex] use proper name for 'chapter_minor'

This commit is contained in:
Mike Fährmann 2020-02-29 00:18:54 +01:00
parent 8fbbaa54ff
commit 39b48d665b
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

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