Komiku: fix chapter page (#7208)

This commit is contained in:
Riztard Lanthorn 2021-05-25 19:22:30 +07:00 committed by GitHub
parent a35d2d2514
commit cf390b8629
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 = 'Komiku'
pkgNameSuffix = 'id.komiku'
extClass = '.Komiku'
extVersionCode = 12
extVersionCode = 13
libVersion = '1.2'
}

View File

@ -281,7 +281,7 @@ class Komiku : ParsedHttpSource() {
// pages
override fun pageListParse(document: Document): List<Page> {
return document.select("#Baca_Komik img").mapIndexed { i, element ->
Page(i, "", element.attr("onError").substringAfter("src=\'").substringBefore("'"))
Page(i, "", element.attr("abs:src"))
}
}