Fix KomikindoID no pages found (#16941)

This commit is contained in:
Ahmad Ghoni Arrozaq 2023-06-30 21:28:20 +07:00 committed by GitHub
parent 12a0dfbfb3
commit 439578e5c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'KomikIndoID'
pkgNameSuffix = 'id.komikindoid'
extClass = '.KomikIndoID'
extVersionCode = 10
extVersionCode = 11
}
apply from: "$rootDir/common.gradle"

View File

@ -212,7 +212,7 @@ class KomikIndoID : ParsedHttpSource() {
override fun pageListParse(document: Document): List<Page> {
val pages = mutableListOf<Page>()
var i = 0
document.select("div.imgch img").forEach { element ->
document.select("div.img-landmine img").forEach { element ->
val url = element.attr("onError").substringAfter("src='").substringBefore("';")
i++
if (url.isNotEmpty()) {