[KSGroupScans] Migrate from FMReader to Madara (#15332)
|
@ -1,18 +0,0 @@
|
|||
package eu.kanade.tachiyomi.extension.en.ksgroupscans
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.fmreader.FMReader
|
||||
import eu.kanade.tachiyomi.source.model.SChapter
|
||||
import org.jsoup.nodes.Element
|
||||
|
||||
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 {
|
||||
setUrlWithoutDomain(it.attr("abs:href"))
|
||||
name = element.select(".chapter-name").text()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 6.7 KiB After Width: | Height: | Size: 6.7 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 88 KiB |
|
@ -0,0 +1,8 @@
|
|||
package eu.kanade.tachiyomi.extension.en.ksgroupscans
|
||||
|
||||
import eu.kanade.tachiyomi.multisrc.madara.Madara
|
||||
|
||||
class KSGroupScans : Madara("KSGroupScans", "https://ksgroupscans.com", "en") {
|
||||
override val versionId = 2
|
||||
override val useNewChapterEndpoint = true
|
||||
}
|
|
@ -16,7 +16,6 @@ class FMReaderGenerator : ThemeSourceGenerator {
|
|||
MultiLang("Manhwa18.net", "https://manhwa18.net", listOf("en", "ko"), className = "Manhwa18NetFactory", isNsfw = true),
|
||||
SingleLang("Epik Manga", "https://www.epikmanga.com", "tr"),
|
||||
SingleLang("KissLove", "https://klmanga.com", "ja", overrideVersionCode = 2),
|
||||
SingleLang("KSGroupScans", "https://ksgroupscans.com", "en", overrideVersionCode = 2),
|
||||
SingleLang("Manga-TR", "https://manga-tr.com", "tr", className = "MangaTR", overrideVersionCode = 1),
|
||||
SingleLang("ManhuaRock", "https://manhuarock.net", "vi", overrideVersionCode = 1),
|
||||
SingleLang("Manhwa18", "https://manhwa18.com", "en", isNsfw = true, overrideVersionCode = 2),
|
||||
|
|
|
@ -164,6 +164,7 @@ class MadaraGenerator : ThemeSourceGenerator {
|
|||
SingleLang("Kissmanga.in", "https://kissmanga.in", "en", className = "KissmangaIn", overrideVersionCode = 2),
|
||||
SingleLang("KlikManga", "https://klikmanga.id", "id", overrideVersionCode = 2),
|
||||
SingleLang("KomikRame", "https://komikra.me", "id"),
|
||||
SingleLang("KSGroupScans", "https://ksgroupscans.com", "en"),
|
||||
SingleLang("Kun Manga", "https://kunmanga.com", "en", overrideVersionCode = 1),
|
||||
SingleLang("Lady Manga", "https://ladymanga.com", "en"),
|
||||
SingleLang("Lala Manga", "https://lalamanga.com", "en", isNsfw = true),
|
||||
|
|