From 9f9ee6d4ffe389c0b8eaa5c55605f799be60eb29 Mon Sep 17 00:00:00 2001 From: FourTOne5 <59261191+FourTOne5@users.noreply.github.com> Date: Mon, 24 May 2021 19:01:21 +0600 Subject: [PATCH] MangaPark v3 fix [Invalid Float=""] (#7203) * MangaPark v3 fix [Invalid Float=""] * Update build.gradle --- src/all/mangapark/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/all/mangapark/MangaPark.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/all/mangapark/build.gradle b/src/all/mangapark/build.gradle index e1fb3d995..504103959 100644 --- a/src/all/mangapark/build.gradle +++ b/src/all/mangapark/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'MangaPark v3' pkgNameSuffix = 'all.mangapark' extClass = '.MangaParkFactory' - extVersionCode = 1 + extVersionCode = 2 libVersion = '1.2' containsNsfw = true } diff --git a/src/all/mangapark/src/eu/kanade/tachiyomi/extension/all/mangapark/MangaPark.kt b/src/all/mangapark/src/eu/kanade/tachiyomi/extension/all/mangapark/MangaPark.kt index ed49bb8aa..64e27ece6 100644 --- a/src/all/mangapark/src/eu/kanade/tachiyomi/extension/all/mangapark/MangaPark.kt +++ b/src/all/mangapark/src/eu/kanade/tachiyomi/extension/all/mangapark/MangaPark.kt @@ -72,7 +72,7 @@ open class MangaPark( return when { query.startsWith("ID:") -> { val id = query.substringAfter("ID:") - client.newCall(GET("$baseUrl/series/$id", headers)).asObservableSuccess() + client.newCall(GET("$baseUrl/comic/$id", headers)).asObservableSuccess() .map { response -> queryIDParse(response, id) } @@ -195,7 +195,7 @@ open class MangaPark( return super.chapterListRequest(manga) } - override fun chapterListSelector() = "div#mainer div.container-fluid div.episode-list div#episodes-lang-$siteLang" + override fun chapterListSelector() = "div#mainer div.container-fluid div.episode-list div#episodes-lang-$siteLang div.p-2" override fun chapterFromElement(element: Element): SChapter { val chapter = SChapter.create()