Merge pull request #1442 - dragonx943/sources/manhwaindo

[ManhwaIndo] Fix "Content not found or removed"
master
Draken 1 year ago committed by GitHub
commit f2960c2229
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1 +1 @@
total: 1181
total: 1181

@ -29,7 +29,7 @@ internal class ManhwaIndoParser(context: MangaLoaderContext) :
}
private suspend fun fetchPage(img: Element): MangaPage? = runCatchingCancellable {
val url = img.attrAsRelativeUrlOrNull("data-src") ?: return@runCatchingCancellable null
val url = img.requireSrc().toAbsoluteUrl(domain) ?: return@runCatchingCancellable null
webClient.httpHead(url).use { response ->
if (response.mimeType?.startsWith("image/") == true) {
MangaPage(

Loading…
Cancel
Save