From 1bd3b589acc51be10b947f51f35594f5194eec84 Mon Sep 17 00:00:00 2001 From: Riztard Lanthorn Date: Mon, 19 Oct 2020 18:36:08 +0700 Subject: [PATCH] Update Madara (#4637) * add MangaArabOnline * fix Kombatch chapter timestamp * update ext version * add HerozScanlation --- src/all/madara/build.gradle | 2 +- .../tachiyomi/extension/all/madara/MadaraFactory.kt | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/all/madara/build.gradle b/src/all/madara/build.gradle index 82a33b6d2..5558d88f0 100644 --- a/src/all/madara/build.gradle +++ b/src/all/madara/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Madara (multiple sources)' pkgNameSuffix = "all.madara" extClass = '.MadaraFactory' - extVersionCode = 144 + extVersionCode = 145 libVersion = '1.2' containsNsfw = true } diff --git a/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt b/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt index 26dfd613c..f6b837f16 100644 --- a/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt +++ b/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/MadaraFactory.kt @@ -63,6 +63,7 @@ class MadaraFactory : SourceFactory { GoldenManga(), GuncelManga(), HeroManhua(), + HerozScanlation(), Hiperdex(), HunterFansub(), IchirinNoHanaYuri(), @@ -80,6 +81,7 @@ class MadaraFactory : SourceFactory { Manga3asq(), Manga68(), MangaAction(), + MangaArabOnline(), MangaArabTeam(), MangaBob(), MangaClash(), @@ -189,6 +191,8 @@ class MadaraFactory : SourceFactory { ) } +class HerozScanlation : Madara("Heroz Scanlation", "https://herozscans.com", "en") + class CatOnHeadTranslations : Madara("CatOnHeadTranslations", "https://catonhead.com", "en") class OffScan : Madara( @@ -680,6 +684,8 @@ class HunterFansub : Madara("Hunter Fansub", "https://hunterfansub.com", "es") { override val popularMangaUrlSelector = "div.post-title a:last-child" } +class MangaArabOnline : Madara("Manga Arab Online مانجا عرب اون لاين", "https://mangaarabonline.com", "ar", SimpleDateFormat("MMM d, yyyy", Locale.forLanguageTag("ar"))) + class MangaArabTeam : Madara("مانجا عرب تيم Manga Arab Team", "https://mangaarabteam.com", "ar") { override fun imageRequest(page: Page): Request { return GET(page.imageUrl!!.replace("http:", "https:")) @@ -1312,7 +1318,7 @@ class S2Manga : Madara("S2Manga", "https://s2manga.com", "en") class MangaLandArabic : Madara("Manga Land Arabic", "https://mangalandarabic.com", "ar") -class Kombatch : Madara("Kombatch", "https://kombatch.com", "id") +class Kombatch : Madara("Kombatch", "https://kombatch.com", "id", SimpleDateFormat("d MMMM yyyy", Locale.forLanguageTag("id"))) class ProjetoScanlator : Madara("Projeto Scanlator", "https://projetoscanlator.com", "pt-BR", SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")))