diff --git a/src/id/komikindoid/build.gradle b/src/id/komikindoid/build.gradle index 1cd421178..802b5f847 100644 --- a/src/id/komikindoid/build.gradle +++ b/src/id/komikindoid/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'KomikIndoID' pkgNameSuffix = 'id.komikindoid' extClass = '.KomikIndoID' - extVersionCode = 6 + extVersionCode = 7 } apply from: "$rootDir/common.gradle" diff --git a/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt b/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt index 2ddc265ef..2eb0d4b7d 100644 --- a/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt +++ b/src/id/komikindoid/src/eu/kanade/tachiyomi/extension/id/komikindoid/KomikIndoID.kt @@ -178,7 +178,7 @@ class KomikIndoID : ParsedHttpSource() { val pages = mutableListOf() var i = 0 document.select("div.imgch img").forEach { element -> - val url = element.attr("src") + val url = element.attr("onError").substringAfter("src='").substringBefore("';") i++ if (url.isNotEmpty()) { pages.add(Page(i, "", url))