|
|
|
@ -678,8 +678,8 @@ internal abstract class MadaraParser(
|
|
|
|
"No image found, try to log in",
|
|
|
|
"No image found, try to log in",
|
|
|
|
fullUrl,
|
|
|
|
fullUrl,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
return root.select(selectPage).map { div ->
|
|
|
|
return root.select(selectPage).flatMap { div ->
|
|
|
|
val img = div.selectFirstOrThrow("img")
|
|
|
|
div.selectOrThrow("img").map { img ->
|
|
|
|
val url = img.src()?.toRelativeUrl(domain) ?: div.parseFailed("Image src not found")
|
|
|
|
val url = img.src()?.toRelativeUrl(domain) ?: div.parseFailed("Image src not found")
|
|
|
|
MangaPage(
|
|
|
|
MangaPage(
|
|
|
|
id = generateUid(url),
|
|
|
|
id = generateUid(url),
|
|
|
|
@ -689,6 +689,7 @@ internal abstract class MadaraParser(
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
val chapterProtectorHtml = chapterProtector.attr("src")
|
|
|
|
val chapterProtectorHtml = chapterProtector.attr("src")
|
|
|
|
|