From bdc3a5d05babc7662845b868a2148c02bdcb6a4e Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Wed, 10 Jun 2020 01:01:25 +0430 Subject: [PATCH] Kill Six billion Demons: fix a bug (#3463) * Kill Six billion Demons: fix a bug * Bump extension version --- src/en/killsixbilliondemons/build.gradle | 2 +- .../extension/en/killsixbilliondemons/KillSixBillionDemons.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/en/killsixbilliondemons/build.gradle b/src/en/killsixbilliondemons/build.gradle index 8fe295950..635482b73 100644 --- a/src/en/killsixbilliondemons/build.gradle +++ b/src/en/killsixbilliondemons/build.gradle @@ -5,7 +5,7 @@ ext { appName = 'Tachiyomi: Kill Six Billion Demons' pkgNameSuffix = 'en.killsixbilliondemons' extClass = '.KillSixBillionDemons' - extVersionCode = 1 + extVersionCode = 2 libVersion = '1.2' } diff --git a/src/en/killsixbilliondemons/src/eu/kanade/tachiyomi/extension/en/killsixbilliondemons/KillSixBillionDemons.kt b/src/en/killsixbilliondemons/src/eu/kanade/tachiyomi/extension/en/killsixbilliondemons/KillSixBillionDemons.kt index 2d1a6ae84..e0cd47036 100644 --- a/src/en/killsixbilliondemons/src/eu/kanade/tachiyomi/extension/en/killsixbilliondemons/KillSixBillionDemons.kt +++ b/src/en/killsixbilliondemons/src/eu/kanade/tachiyomi/extension/en/killsixbilliondemons/KillSixBillionDemons.kt @@ -143,9 +143,9 @@ class KillSixBillionDemons : HttpSource() { var pageNum = 1 wordpressPages.forEach { wordpressPage -> - wordpressPage.select(".post-content .entry a:has(img)").forEach { _ -> + wordpressPage.select(".post-content .entry a:has(img)").forEach { postImage -> chapterPages.add( - Page(pageNum, wordpressPage.attr("href"), wordpressPage.select("img").attr("src")) + Page(pageNum, postImage.attr("href"), postImage.select("img").attr("src")) ) pageNum++ }