MangaGeko: Fix Chapter numbers when logged in (#10854)
This commit is contained in:
parent
e533814cc9
commit
948decf018
@ -1,7 +1,7 @@
|
|||||||
ext {
|
ext {
|
||||||
extName = 'MangaGeko'
|
extName = 'MangaGeko'
|
||||||
extClass = '.MangaRawClub'
|
extClass = '.MangaRawClub'
|
||||||
extVersionCode = 26
|
extVersionCode = 27
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -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"))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user