Fix KomikindoID no pages found (#16941)
This commit is contained in:
parent
12a0dfbfb3
commit
439578e5c8
@ -5,7 +5,7 @@ ext {
|
|||||||
extName = 'KomikIndoID'
|
extName = 'KomikIndoID'
|
||||||
pkgNameSuffix = 'id.komikindoid'
|
pkgNameSuffix = 'id.komikindoid'
|
||||||
extClass = '.KomikIndoID'
|
extClass = '.KomikIndoID'
|
||||||
extVersionCode = 10
|
extVersionCode = 11
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
@ -212,7 +212,7 @@ class KomikIndoID : ParsedHttpSource() {
|
|||||||
override fun pageListParse(document: Document): List<Page> {
|
override fun pageListParse(document: Document): List<Page> {
|
||||||
val pages = mutableListOf<Page>()
|
val pages = mutableListOf<Page>()
|
||||||
var i = 0
|
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("';")
|
val url = element.attr("onError").substringAfter("src='").substringBefore("';")
|
||||||
i++
|
i++
|
||||||
if (url.isNotEmpty()) {
|
if (url.isNotEmpty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user