From d1415a27c66242986eb60110b031570fb3133751 Mon Sep 17 00:00:00 2001 From: Eugene <35057681+e-shl@users.noreply.github.com> Date: Thu, 17 Jun 2021 18:36:38 +0500 Subject: [PATCH] [RU]Mangaclub fix image parse (#7701) --- src/ru/mangaclub/build.gradle | 2 +- .../src/eu/kanade/tachiyomi/extension/ru/mangaclub/Mangaclub.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ru/mangaclub/build.gradle b/src/ru/mangaclub/build.gradle index 34c36173d..eaefb506d 100644 --- a/src/ru/mangaclub/build.gradle +++ b/src/ru/mangaclub/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'MangaClub' pkgNameSuffix = 'ru.mangaclub' extClass = '.Mangaclub' - extVersionCode = 2 + extVersionCode = 3 libVersion = '1.2' } diff --git a/src/ru/mangaclub/src/eu/kanade/tachiyomi/extension/ru/mangaclub/Mangaclub.kt b/src/ru/mangaclub/src/eu/kanade/tachiyomi/extension/ru/mangaclub/Mangaclub.kt index 51e7e9792..934a5201d 100644 --- a/src/ru/mangaclub/src/eu/kanade/tachiyomi/extension/ru/mangaclub/Mangaclub.kt +++ b/src/ru/mangaclub/src/eu/kanade/tachiyomi/extension/ru/mangaclub/Mangaclub.kt @@ -106,7 +106,7 @@ class Mangaclub : ParsedHttpSource() { // Pages override fun pageListParse(document: Document): List = mutableListOf().apply { document.select(".manga-lines-page a").forEach { - add(Page(it.attr("data-p").toInt(), "", it.attr("abs:data-i"))) + add(Page(it.attr("data-p").toInt(), "", baseUrl.replace("//", "//img.") + "/" + it.attr("data-i"))) } }