mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-21 18:02:42 +01:00
Comic Gamma: fix chapter list (#3296)
This commit is contained in:
parent
d97020723f
commit
2868635835
@ -2,7 +2,7 @@ plugins {
|
|||||||
id("lib-multisrc")
|
id("lib-multisrc")
|
||||||
}
|
}
|
||||||
|
|
||||||
baseVersionCode = 7
|
baseVersionCode = 8
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":lib:speedbinb"))
|
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 {
|
override fun chapterFromElement(element: Element) = SChapter.create().apply {
|
||||||
url = element.attr("href").toOldChapterUrl()
|
url = element.attr("href").toOldChapterUrl()
|
||||||
val number = url.removeSuffix("/").substringAfterLast('/').replace('_', '.')
|
val number = url.removeSuffix("/").substringAfterLast('/').replace('_', '.')
|
||||||
|
Loading…
Reference in New Issue
Block a user