From dd0bb1ccd69701e3708a8f505634113bef722e06 Mon Sep 17 00:00:00 2001 From: Ahmad Ghoni Arrozaq <93740880+AhmadGhoni@users.noreply.github.com> Date: Sat, 9 Sep 2023 09:27:37 +0700 Subject: [PATCH] Tenshi.id: Fix short list of comics (#17844) * Fix url directory * change override version * Sort sources alphabetically --- .../overrides/mangathemesia/masterkomik/src/TenshiId.kt | 8 +++++++- .../multisrc/mangathemesia/MangaThemesiaGenerator.kt | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/multisrc/overrides/mangathemesia/masterkomik/src/TenshiId.kt b/multisrc/overrides/mangathemesia/masterkomik/src/TenshiId.kt index f05c899f3..2dcc003d8 100644 --- a/multisrc/overrides/mangathemesia/masterkomik/src/TenshiId.kt +++ b/multisrc/overrides/mangathemesia/masterkomik/src/TenshiId.kt @@ -6,7 +6,13 @@ import okhttp3.OkHttpClient import java.text.SimpleDateFormat import java.util.Locale -class TenshiId : MangaThemesia("Tenshi.id", "https://tenshi.id", "id", dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("id", "ID"))) { +class TenshiId : MangaThemesia( + "Tenshi.id", + "https://tenshi.id", + "id", + dateFormat = SimpleDateFormat("MMMM dd, yyyy", Locale("id", "ID")), + mangaUrlDirectory = "/komik", +) { // MasterKomik changed to Tenshi.id override val id: Long = 3146720114171452298 diff --git a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt index 64bd028c4..f2cc1a3ed 100644 --- a/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt +++ b/multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangathemesia/MangaThemesiaGenerator.kt @@ -85,7 +85,6 @@ class MangaThemesiaGenerator : ThemeSourceGenerator { SingleLang("ManhwaList", "https://manhwalist.xyz", "id", overrideVersionCode = 3), SingleLang("Manhwax", "https://manhwax.com", "en", isNsfw = true), SingleLang("Mareceh", "https://mareceh.com", "id", isNsfw = true, pkgName = "mangceh", overrideVersionCode = 10), - SingleLang("Tenshi.id", "https://tenshi.id", "id", className = "TenshiId", pkgName = "masterkomik", overrideVersionCode = 2), SingleLang("MELOKOMIK", "https://melokomik.xyz", "id"), SingleLang("Mihentai", "https://mihentai.com", "all", isNsfw = true, overrideVersionCode = 2), SingleLang("MirrorDesu", "https://mirrordesu.me", "id", isNsfw = true), @@ -128,6 +127,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator { SingleLang("Sushi-Scan", "https://sushiscan.net", "fr", className = "SushiScan", overrideVersionCode = 6), SingleLang("Tarot Scans", "https://www.tarotscans.com", "tr"), SingleLang("TenkaiScan", "https://tenkaiscan.net", "es", isNsfw = true), + SingleLang("Tenshi.id", "https://tenshi.id", "id", className = "TenshiId", pkgName = "masterkomik", overrideVersionCode = 3), SingleLang("The Apollo Team", "https://theapollo.team", "en"), SingleLang("Tsundoku Traduções", "https://tsundoku.com.br", "pt-BR", className = "TsundokuTraducoes", overrideVersionCode = 9), SingleLang("TukangKomik", "https://tukangkomik.id", "id", overrideVersionCode = 1),