From 6c66a78a8c4f091891ed26c9f405cc702ff0b7c7 Mon Sep 17 00:00:00 2001 From: Alessandro Jean Date: Wed, 30 Sep 2020 13:05:32 -0300 Subject: [PATCH] Add FDM and Argos Scan. (#4470) Add FDM and Argos Scan --- src/all/madara/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/all/madara/Madara.kt | 4 ++-- .../tachiyomi/extension/all/madara/MadaraFactory.kt | 8 +++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/all/madara/build.gradle b/src/all/madara/build.gradle index 54766a3b2..b1ded5787 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 = 134 + extVersionCode = 135 libVersion = '1.2' containsNsfw = true } diff --git a/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/Madara.kt b/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/Madara.kt index 325389c94..6c214222f 100644 --- a/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/Madara.kt +++ b/src/all/madara/src/eu/kanade/tachiyomi/extension/all/madara/Madara.kt @@ -350,8 +350,8 @@ abstract class Madara( manga.status = when (it.text()) { // I don't know what's the corresponding for COMPLETED and LICENSED // There's no support for "Canceled" or "On Hold" - "Completed" -> SManga.COMPLETED - "OnGoing", "Продолжается", "Updating" -> SManga.ONGOING + "Completed", "Completo" -> SManga.COMPLETED + "OnGoing", "Продолжается", "Updating", "Em Lançamento" -> SManga.ONGOING else -> SManga.UNKNOWN } } 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 bdbfe7cc2..b01a62893 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 @@ -158,7 +158,9 @@ class MadaraFactory : SourceFactory { ZinManga(), ShoujoHearts(), AlianzaMarcial(), - OlaoeManga() + OlaoeManga(), + FdmScan(), + ArgosScan() // Removed by request of site owner // EarlyManga(), // MangaGecesi(), @@ -1264,3 +1266,7 @@ class ShoujoHearts : Madara("ShoujoHearts", "http://shoujohearts.com", "en") { class AlianzaMarcial : Madara("AlianzaMarcial", "https://alianzamarcial.xyz", "es") class OlaoeManga : Madara("مانجا اولاو", "https://olaoe.giize.com", "ar") + +class FdmScan : Madara("FDM Scan", "https://fdmscan.com", "pt-BR", SimpleDateFormat("MMMM dd, yyyy", Locale("pt", "BR"))) + +class ArgosScan : Madara("Argos Scan", "https://argosscan.com", "pt-BR", SimpleDateFormat("dd 'de' MMMM 'de' yyyy", Locale("pt", "BR")))