From a9a32bc6ac9ede1bb3bb609ab30bb69323afa46d Mon Sep 17 00:00:00 2001 From: Vetle Ledaal Date: Thu, 21 Jul 2022 02:35:06 +0000 Subject: [PATCH] Koushoku: fix page selector (#12650) --- src/en/koushoku/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/en/koushoku/Koushoku.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/en/koushoku/build.gradle b/src/en/koushoku/build.gradle index 0b2719a11..4a56afc8e 100644 --- a/src/en/koushoku/build.gradle +++ b/src/en/koushoku/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Koushoku' pkgNameSuffix = 'en.koushoku' extClass = '.Koushoku' - extVersionCode = 6 + extVersionCode = 7 isNsfw = true } diff --git a/src/en/koushoku/src/eu/kanade/tachiyomi/extension/en/koushoku/Koushoku.kt b/src/en/koushoku/src/eu/kanade/tachiyomi/extension/en/koushoku/Koushoku.kt index 7d1706931..0148710a9 100644 --- a/src/en/koushoku/src/eu/kanade/tachiyomi/extension/en/koushoku/Koushoku.kt +++ b/src/en/koushoku/src/eu/kanade/tachiyomi/extension/en/koushoku/Koushoku.kt @@ -158,7 +158,7 @@ class Koushoku : ParsedHttpSource() { if (id.isNullOrEmpty()) throw UnsupportedOperationException("Error: Unknown archive id") - val url = URL(document.selectFirst(".page img").attr("src")) + val url = URL(document.selectFirst(".main img, main img").attr("src")) val origin = "${url.protocol}://${url.host}" return (1..totalPages).map {