From 4ca73ae0678e2acfefaf656a94bf0d2d3cd4c746 Mon Sep 17 00:00:00 2001 From: OncePunchedMan <64155117+OncePunchedMan@users.noreply.github.com> Date: Sat, 16 Jan 2021 03:29:36 +0000 Subject: [PATCH] adding new sources to madara (#5437) * adding grazescans and uyuyanbalik to madara * adding mangaweebs to madara * adding mmscans to madara --- src/all/madara/build.gradle | 2 +- .../kanade/tachiyomi/extension/all/madara/Madara.kt | 2 +- .../tachiyomi/extension/all/madara/MadaraFactory.kt | 12 ++++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/src/all/madara/build.gradle b/src/all/madara/build.gradle index 8d53bf38f..cc4197266 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 = 169 + extVersionCode = 170 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 842f9d9ab..dc4ac54e4 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 @@ -351,7 +351,7 @@ abstract class Madara( // I don't know what's the corresponding for COMPLETED and LICENSED // There's no support for "Canceled" or "On Hold" "Completed", "Completo", "Concluído" -> SManga.COMPLETED - "OnGoing", "Продолжается", "Updating", "Em Lançamento", "Em andamento" -> SManga.ONGOING + "Devam Ediyor", "OnGoing", "Продолжается", "Updating", "Em Lançamento", "Em andamento" -> 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 09cded649..17b2b315d 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 @@ -219,6 +219,10 @@ class MadaraFactory : SourceFactory { YuriVerso(), ZinManga(), ZManga(), + GrazeScans(), + UyuyanBalik(), + MangaWeebs(), + MMScans(), // removed because scanlator site and they requested // AhStudios(), @@ -1501,3 +1505,11 @@ class Voidscans : Madara("Void Scans", "https://voidscans.com", "en") { class GeceninLordu : Madara("Gecenin Lordu", "https://geceninlordu.com/", "tr", SimpleDateFormat("dd MMM yyyy", Locale("tr"))) { override fun searchMangaRequest(page: Int, query: String, filters: FilterList) = GET("$baseUrl/?s=$query&post_type=wp-manga") } + +class GrazeScans : Madara("Graze Scans", "https://grazescans.com/", "en") + +class UyuyanBalik : Madara("Uyuyan Balik", "https://uyuyanbalik.com/", "tr", SimpleDateFormat("dd MMMM yyyy", Locale.US)) + +class MangaWeebs : Madara("Manga Weebs", "https://mangaweebs.in", "en") + +class MMScans : Madara("MMScans", "https://mm-scans.com/", "en")