Fix HotComics only showing one chapter (#5405)

fix
This commit is contained in:
bapeey 2024-10-07 06:21:59 -05:00 committed by GitHub
parent 46837ed75f
commit 00bab8e776
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ plugins {
id("lib-multisrc") id("lib-multisrc")
} }
baseVersionCode = 1 baseVersionCode = 2
dependencies { dependencies {
api(project(":lib:cookieinterceptor")) api(project(":lib:cookieinterceptor"))

View File

@ -120,7 +120,7 @@ abstract class HotComics(
override fun chapterListParse(response: Response): List<SChapter> { override fun chapterListParse(response: Response): List<SChapter> {
return response.asJsoup().select("#tab-chapter a").map { element -> return response.asJsoup().select("#tab-chapter a").map { element ->
SChapter.create().apply { SChapter.create().apply {
setUrlWithoutDomain(element.absUrl("href")) setUrlWithoutDomain(element.attr("onclick").substringAfter("popupLogin('").substringBefore("'"))
name = element.selectFirst(".cell-num")!!.text() name = element.selectFirst(".cell-num")!!.text()
date_upload = parseDate(element.selectFirst(".cell-time")?.text()) date_upload = parseDate(element.selectFirst(".cell-time")?.text())
} }