Merge pull request #572 from geexuan/baozimh_details_fix

Baozimh: Fix for not getting all chapter details
Koitharu 2 years ago committed by GitHub
commit 3ff028c4e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -163,8 +163,9 @@ internal class Baozimh(context: MangaLoaderContext) :
else -> null else -> null
}, },
tags = tags, tags = tags,
chapters = doc.requireElementById("chapter-items").select("div.comics-chapters a") chapters = (doc.requireElementById("chapter-items").select("div.comics-chapters a")
.mapChapters(reversed = true) { i, a -> + doc.requireElementById("chapters_other_list").select("div.comics-chapters a"))
.mapChapters { i, a ->
val url = a.attrAsRelativeUrl("href").toAbsoluteUrl(domain) val url = a.attrAsRelativeUrl("href").toAbsoluteUrl(domain)
MangaChapter( MangaChapter(
id = generateUid(url), id = generateUid(url),

Loading…
Cancel
Save