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' extName = 'Komiku'
pkgNameSuffix = 'id.komiku' pkgNameSuffix = 'id.komiku'
extClass = '.Komiku' extClass = '.Komiku'
extVersionCode = 12 extVersionCode = 13
libVersion = '1.2' libVersion = '1.2'
} }

View File

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