Comic Gamma: fix chapter list (#3296)
This commit is contained in:
parent
71ebbabdeb
commit
08ad68a631
|
@ -2,7 +2,7 @@ plugins {
|
|||
id("lib-multisrc")
|
||||
}
|
||||
|
||||
baseVersionCode = 7
|
||||
baseVersionCode = 8
|
||||
|
||||
dependencies {
|
||||
api(project(":lib:speedbinb"))
|
||||
|
|
|
@ -84,7 +84,7 @@ open class ComicGamma(
|
|||
}
|
||||
}
|
||||
|
||||
override fun chapterListSelector() = ".read__area > .read__outer > a:not([href=#comics])"
|
||||
override fun chapterListSelector() = ".read__area .read__outer > a:not([href=#comics])"
|
||||
override fun chapterFromElement(element: Element) = SChapter.create().apply {
|
||||
url = element.attr("href").toOldChapterUrl()
|
||||
val number = url.removeSuffix("/").substringAfterLast('/').replace('_', '.')
|
||||
|
|
Loading…
Reference in New Issue