From 00bab8e7764de72d91c764688666535ffaafa051 Mon Sep 17 00:00:00 2001 From: bapeey <90949336+bapeey@users.noreply.github.com> Date: Mon, 7 Oct 2024 06:21:59 -0500 Subject: [PATCH] Fix HotComics only showing one chapter (#5405) fix --- lib-multisrc/hotcomics/build.gradle.kts | 2 +- .../src/eu/kanade/tachiyomi/multisrc/hotcomics/HotComics.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib-multisrc/hotcomics/build.gradle.kts b/lib-multisrc/hotcomics/build.gradle.kts index e6f660213..bb994fe62 100644 --- a/lib-multisrc/hotcomics/build.gradle.kts +++ b/lib-multisrc/hotcomics/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("lib-multisrc") } -baseVersionCode = 1 +baseVersionCode = 2 dependencies { api(project(":lib:cookieinterceptor")) diff --git a/lib-multisrc/hotcomics/src/eu/kanade/tachiyomi/multisrc/hotcomics/HotComics.kt b/lib-multisrc/hotcomics/src/eu/kanade/tachiyomi/multisrc/hotcomics/HotComics.kt index 623dd71d3..be4864c7e 100644 --- a/lib-multisrc/hotcomics/src/eu/kanade/tachiyomi/multisrc/hotcomics/HotComics.kt +++ b/lib-multisrc/hotcomics/src/eu/kanade/tachiyomi/multisrc/hotcomics/HotComics.kt @@ -120,7 +120,7 @@ abstract class HotComics( override fun chapterListParse(response: Response): List { return response.asJsoup().select("#tab-chapter a").map { element -> SChapter.create().apply { - setUrlWithoutDomain(element.absUrl("href")) + setUrlWithoutDomain(element.attr("onclick").substringAfter("popupLogin('").substringBefore("'")) name = element.selectFirst(".cell-num")!!.text() date_upload = parseDate(element.selectFirst(".cell-time")?.text()) }