Fix pagination for KSGroupScans (#10331)
This commit is contained in:
parent
90427f11d3
commit
0fa1a6121f
|
@ -6,6 +6,8 @@ import org.jsoup.nodes.Element
|
||||||
import java.util.Calendar
|
import java.util.Calendar
|
||||||
|
|
||||||
class KSGroupScans : FMReader("KSGroupScans", "https://ksgroupscans.com", "en") {
|
class KSGroupScans : FMReader("KSGroupScans", "https://ksgroupscans.com", "en") {
|
||||||
|
override fun popularMangaNextPageSelector() = ".pagination > li:last-child > a:not(.active)"
|
||||||
|
|
||||||
override fun chapterFromElement(element: Element, mangaTitle: String): SChapter {
|
override fun chapterFromElement(element: Element, mangaTitle: String): SChapter {
|
||||||
return SChapter.create().apply {
|
return SChapter.create().apply {
|
||||||
element.select(chapterUrlSelector).first().let {
|
element.select(chapterUrlSelector).first().let {
|
||||||
|
|
|
@ -23,7 +23,7 @@ class FMReaderGenerator : ThemeSourceGenerator {
|
||||||
MultiLang("Manhwa18.net", "https://manhwa18.net", listOf("en", "ko"), className = "Manhwa18NetFactory", isNsfw = true),
|
MultiLang("Manhwa18.net", "https://manhwa18.net", listOf("en", "ko"), className = "Manhwa18NetFactory", isNsfw = true),
|
||||||
SingleLang("WeLoveManga", "https://weloma.net", "ja", pkgName = "rawlh", overrideVersionCode = 3),
|
SingleLang("WeLoveManga", "https://weloma.net", "ja", pkgName = "rawlh", overrideVersionCode = 3),
|
||||||
SingleLang("Say Truyen", "https://saytruyen.net", "vi", overrideVersionCode = 2),
|
SingleLang("Say Truyen", "https://saytruyen.net", "vi", overrideVersionCode = 2),
|
||||||
SingleLang("KSGroupScans", "https://ksgroupscans.com", "en"),
|
SingleLang("KSGroupScans", "https://ksgroupscans.com", "en", overrideVersionCode = 1),
|
||||||
// Sites that went down
|
// Sites that went down
|
||||||
// SingleLang("18LHPlus", "https://18lhplus.com", "en", className = "EighteenLHPlus"),
|
// SingleLang("18LHPlus", "https://18lhplus.com", "en", className = "EighteenLHPlus"),
|
||||||
// SingleLang("HanaScan (RawQQ)", "https://hanascan.com", "ja", className = "HanaScanRawQQ"),
|
// SingleLang("HanaScan (RawQQ)", "https://hanascan.com", "ja", className = "HanaScanRawQQ"),
|
||||||
|
|
Loading…
Reference in New Issue