Fixes for madara sources: LeviatanScans and Sisi Gelap (#8434)

* LeviatanScans: Fix chapter list parsing

* Sisi Gelap: Update domain
This commit is contained in:
Arraiment 2021-08-07 20:50:41 +08:00 committed by GitHub
parent 61f76968b7
commit 03efe8476c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -12,7 +12,5 @@ class LeviatanScansFactory : SourceFactory {
LeviatanScansES(),
)
}
class LeviatanScansEN : Madara("Leviatan Scans", "https://leviatanscans.com", "en") {
override fun chapterListParse(response: Response): List<SChapter> = super.chapterListParse(response).sortedBy { it.name.toInt() }.reversed()
}
class LeviatanScansEN : Madara("Leviatan Scans", "https://leviatanscans.com", "en")
class LeviatanScansES : Madara("Leviatan Scans", "https://es.leviatanscans.com", "es")

View File

@ -13,7 +13,7 @@ class MadaraGenerator : ThemeSourceGenerator {
override val baseVersionCode: Int = 8
override val sources = listOf(
MultiLang("Leviatan Scans", "https://leviatanscans.com", listOf("en", "es"), className = "LeviatanScansFactory", overrideVersionCode = 5),
MultiLang("Leviatan Scans", "https://leviatanscans.com", listOf("en", "es"), className = "LeviatanScansFactory", overrideVersionCode = 6),
MultiLang("MangaForFree.net", "https://mangaforfree.net", listOf("en", "ko", "all") , isNsfw = true, className = "MangaForFreeFactory", pkgName = "mangaforfree", overrideVersionCode = 1),
MultiLang("Manhwa18.cc", "https://manhwa18.cc", listOf("en", "ko", "all"), isNsfw = true, className = "Manhwa18CcFactory", pkgName = "manhwa18cc"),
SingleLang("1st Kiss Manga.love", "https://1stkissmanga.love", "en", className = "FirstKissMangaLove"),
@ -315,7 +315,7 @@ class MadaraGenerator : ThemeSourceGenerator {
SingleLang("Reset Scans", "https://reset-scans.com", "en", overrideVersionCode = 3),
SingleLang("Rüya Manga", "https://www.ruyamanga.com", "tr", className = "RuyaManga", overrideVersionCode = 1),
SingleLang("S2Manga", "https://s2manga.com", "en", overrideVersionCode = 1),
SingleLang("SISI GELAP", "https://sisigelap.club/", "id", overrideVersionCode = 1),
SingleLang("SISI GELAP", "https://baru.sisigelap.club/", "id", overrideVersionCode = 2),
SingleLang("SamuraiScan", "https://samuraiscan.com", "es"),
SingleLang("Sani-Go", "https://sani-go.net", "ar", className = "SaniGo", overrideVersionCode = 1),
SingleLang("Sawamics", "https://sawamics.com", "en"),