From 9f26f2b03c289b260c2607388b38207511c64b64 Mon Sep 17 00:00:00 2001 From: Riztard Lanthorn Date: Sat, 20 Mar 2021 22:03:01 +0700 Subject: [PATCH] Bacakomik: fix empty pages (#6222) --- src/id/bacakomik/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/id/bacakomik/Bacakomik.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/id/bacakomik/build.gradle b/src/id/bacakomik/build.gradle index 42c89f3ae..fe832a12a 100644 --- a/src/id/bacakomik/build.gradle +++ b/src/id/bacakomik/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Bacakomik' pkgNameSuffix = 'id.bacakomik' extClass = '.Bacakomik' - extVersionCode = 2 + extVersionCode = 3 libVersion = '1.2' } diff --git a/src/id/bacakomik/src/eu/kanade/tachiyomi/extension/id/bacakomik/Bacakomik.kt b/src/id/bacakomik/src/eu/kanade/tachiyomi/extension/id/bacakomik/Bacakomik.kt index 368a80411..1f9863e7e 100644 --- a/src/id/bacakomik/src/eu/kanade/tachiyomi/extension/id/bacakomik/Bacakomik.kt +++ b/src/id/bacakomik/src/eu/kanade/tachiyomi/extension/id/bacakomik/Bacakomik.kt @@ -180,7 +180,7 @@ class Bacakomik : ParsedHttpSource() { override fun pageListParse(document: Document): List { val pages = mutableListOf() var i = 0 - document.select("div#chimg noscript img").forEach { element -> + document.select("div.imgch-auh img").forEach { element -> val url = element.attr("src") i++ if (url.isNotEmpty()) {