Fix pagination for KSGroupScans (#10331)

This commit is contained in:
Vetle Ledaal 2022-01-04 15:57:14 +00:00 committed by GitHub
parent 90427f11d3
commit 0fa1a6121f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@ import org.jsoup.nodes.Element
import java.util.Calendar
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 {
return SChapter.create().apply {
element.select(chapterUrlSelector).first().let {

View File

@ -23,7 +23,7 @@ class FMReaderGenerator : ThemeSourceGenerator {
MultiLang("Manhwa18.net", "https://manhwa18.net", listOf("en", "ko"), className = "Manhwa18NetFactory", isNsfw = true),
SingleLang("WeLoveManga", "https://weloma.net", "ja", pkgName = "rawlh", overrideVersionCode = 3),
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
// SingleLang("18LHPlus", "https://18lhplus.com", "en", className = "EighteenLHPlus"),
// SingleLang("HanaScan (RawQQ)", "https://hanascan.com", "ja", className = "HanaScanRawQQ"),