MangaGeko: Fix Chapter numbers when logged in (#10854)

This commit is contained in:
Luqman 2025-10-04 01:43:37 +07:00 committed by Draff
parent e533814cc9
commit 948decf018
Signed by: Draff
GPG Key ID: E8A89F3211677653
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
ext { ext {
extName = 'MangaGeko' extName = 'MangaGeko'
extClass = '.MangaRawClub' extClass = '.MangaRawClub'
extVersionCode = 26 extVersionCode = 27
isNsfw = true isNsfw = true
} }

View File

@ -159,7 +159,7 @@ class MangaRawClub : ParsedHttpSource() {
override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply { override fun chapterFromElement(element: Element): SChapter = SChapter.create().apply {
setUrlWithoutDomain(element.select("a").attr("href")) setUrlWithoutDomain(element.select("a").attr("href"))
val name = element.select(".chapter-title").text().removeSuffix("-eng-li") val name = element.selectFirst(".chapter-title,.chapter-number")!!.ownText().removeSuffix("-eng-li")
this.name = "Chapter $name" this.name = "Chapter $name"
date_upload = parseChapterDate(element.select(".chapter-update").attr("datetime")) date_upload = parseChapterDate(element.select(".chapter-update").attr("datetime"))