From 1dbabe17071ac3f927e3e8428cfc020ad4e7b192 Mon Sep 17 00:00:00 2001 From: Yousif Habib <56371129+kirby1hero@users.noreply.github.com> Date: Wed, 10 Jan 2024 17:21:58 +0000 Subject: [PATCH] =?UTF-8?q?Renamed=20and=20updated=20=E2=80=9CManga=20Feni?= =?UTF-8?q?x=E2=80=9D=20to=20=E2=80=9CManhua=20Fenix=E2=80=9D=20(#50)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mangafenix/src/{MangaFenix.kt => ManhuaFenix.kt} | 8 +++++--- .../kanade/tachiyomi/multisrc/madara/MadaraGenerator.kt | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) rename multisrc/overrides/madara/mangafenix/src/{MangaFenix.kt => ManhuaFenix.kt} (77%) diff --git a/multisrc/overrides/madara/mangafenix/src/MangaFenix.kt b/multisrc/overrides/madara/mangafenix/src/ManhuaFenix.kt similarity index 77% rename from multisrc/overrides/madara/mangafenix/src/MangaFenix.kt rename to multisrc/overrides/madara/mangafenix/src/ManhuaFenix.kt index ba431a7d..46516cd4 100644 --- a/multisrc/overrides/madara/mangafenix/src/MangaFenix.kt +++ b/multisrc/overrides/madara/mangafenix/src/ManhuaFenix.kt @@ -6,13 +6,15 @@ import okhttp3.OkHttpClient import java.text.SimpleDateFormat import java.util.Locale -class MangaFenix : Madara( - "Manga Fenix", - "https://manhua-fenix.com", +class ManhuaFenix : Madara( + "Manhua Fenix", + "https://visorfenix.com", "es", SimpleDateFormat("dd MMMM, yyyy", Locale("es")), ) { + override val id: Long = 19158964284779393 + override val client: OkHttpClient = super.client.newBuilder() .rateLimit(1) .build() 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 40bd055d..7afa2022 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 @@ -204,7 +204,6 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Manga Crab", "https://mangacrab3.com", "es", overrideVersionCode = 7), SingleLang("Manga District", "https://mangadistrict.com", "en", isNsfw = true, overrideVersionCode = 2), SingleLang("Manga Diyari", "https://manga-diyari.com", "tr", overrideVersionCode = 2), - SingleLang("Manga Fenix", "https://manhua-fenix.com", "es", overrideVersionCode = 3), SingleLang("Manga Galaxy", "https://mangagalaxy.me", "en", overrideVersionCode = 1), SingleLang("Manga Hentai", "https://mangahentai.me", "en", isNsfw = true, overrideVersionCode = 3), SingleLang("Manga Keyfi", "https://mangakeyfi.net", "tr"), @@ -310,6 +309,7 @@ class MadaraGenerator : ThemeSourceGenerator { SingleLang("Manhastro", "https://manhastro.com", "pt-BR"), SingleLang("Manhatic", "https://manhatic.com", "ar", isNsfw = true), SingleLang("Manhua ES", "https://manhuaes.com", "en", overrideVersionCode = 6), + SingleLang("Manhua Fenix", "https://visorfenix.com", "es", className = "ManhuaFenix", pkgName = "mangafenix", overrideVersionCode = 4), SingleLang("Manhua Kiss", "https://manhuakiss.com", "en", isNsfw = true, overrideVersionCode = 1), SingleLang("Manhua Mix", "https://manhuamix.com", "en", className = "Manhuasnet", overrideVersionCode = 3), SingleLang("Manhua Plus", "https://manhuaplus.com", "en", overrideVersionCode = 6),