[batoto] extract 'chapter_url' (#5562)

i.e. the chapter number found in the full chapter URL
This commit is contained in:
Mike Fährmann
2024-08-13 20:57:33 +02:00
parent 3b0753f6ea
commit f0de1685ae
2 changed files with 23 additions and 0 deletions

View File

@@ -65,6 +65,8 @@ class BatotoChapterExtractor(BatotoBase, ChapterExtractor):
return {
"manga" : text.unescape(manga),
"manga_id" : text.parse_int(manga_id),
"chapter_url" : text.parse_int(extr(
self.chapter_id + "-ch_", '"')),
"title" : text.unescape(text.remove_html(extr(
"selected>", "</option")).partition(" : ")[2]),
"volume" : text.parse_int(volume),