From 04373a8d47a32d320972c2ca54b516d4b6972f4d Mon Sep 17 00:00:00 2001 From: Riztard Lanthorn Date: Mon, 26 Apr 2021 17:46:08 +0700 Subject: [PATCH] Komiku: fix chapter image (#6711) --- src/id/komiku/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/id/komiku/Komiku.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/id/komiku/build.gradle b/src/id/komiku/build.gradle index c488de8da..08dc09bec 100644 --- a/src/id/komiku/build.gradle +++ b/src/id/komiku/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Komiku' pkgNameSuffix = 'id.komiku' extClass = '.Komiku' - extVersionCode = 11 + extVersionCode = 12 libVersion = '1.2' } diff --git a/src/id/komiku/src/eu/kanade/tachiyomi/extension/id/komiku/Komiku.kt b/src/id/komiku/src/eu/kanade/tachiyomi/extension/id/komiku/Komiku.kt index ef868ec2b..37c14b270 100644 --- a/src/id/komiku/src/eu/kanade/tachiyomi/extension/id/komiku/Komiku.kt +++ b/src/id/komiku/src/eu/kanade/tachiyomi/extension/id/komiku/Komiku.kt @@ -281,7 +281,7 @@ class Komiku : ParsedHttpSource() { // pages override fun pageListParse(document: Document): List { return document.select("#Baca_Komik img").mapIndexed { i, element -> - Page(i, "", element.attr("abs:src")) + Page(i, "", element.attr("onError").substringAfter("src=\'").substringBefore("'")) } }