Komiku: fix chapter image (#6711)

This commit is contained in:
Riztard Lanthorn 2021-04-26 17:46:08 +07:00 committed by GitHub
parent 4b9e845bba
commit 04373a8d47
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 = 11 extVersionCode = 12
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("abs:src")) Page(i, "", element.attr("onError").substringAfter("src=\'").substringBefore("'"))
} }
} }