Merge pull request #1442 - dragonx943/sources/manhwaindo

[ManhwaIndo] Fix "Content not found or removed"
This commit is contained in:
Draken
2025-02-10 15:29:20 +07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -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(