From 03efe8476cced1b3854ca07f0c85a1b233abbb4c Mon Sep 17 00:00:00 2001 From: Arraiment <76941874+Arraiment@users.noreply.github.com> Date: Sat, 7 Aug 2021 20:50:41 +0800 Subject: [PATCH] Fixes for madara sources: LeviatanScans and Sisi Gelap (#8434) * LeviatanScans: Fix chapter list parsing * Sisi Gelap: Update domain --- .../madara/leviatanscans/src/LeviatanScansFactory.kt | 4 +--- .../eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/multisrc/overrides/madara/leviatanscans/src/LeviatanScansFactory.kt b/multisrc/overrides/madara/leviatanscans/src/LeviatanScansFactory.kt index fbc1f3e2a..53dba9ced 100644 --- a/multisrc/overrides/madara/leviatanscans/src/LeviatanScansFactory.kt +++ b/multisrc/overrides/madara/leviatanscans/src/LeviatanScansFactory.kt @@ -12,7 +12,5 @@ class LeviatanScansFactory : SourceFactory { LeviatanScansES(), ) } -class LeviatanScansEN : Madara("Leviatan Scans", "https://leviatanscans.com", "en") { - override fun chapterListParse(response: Response): List = 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") diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt index eb94c54ba..6e5b9df90 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt @@ -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"),