adding new sources to madara (#5437)

* adding grazescans and uyuyanbalik to madara

* adding mangaweebs to madara

* adding mmscans to madara
This commit is contained in:
OncePunchedMan 2021-01-16 03:29:36 +00:00 committed by GitHub
parent 8d5dc2d380
commit 4ca73ae067
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Madara (multiple sources)' extName = 'Madara (multiple sources)'
pkgNameSuffix = "all.madara" pkgNameSuffix = "all.madara"
extClass = '.MadaraFactory' extClass = '.MadaraFactory'
extVersionCode = 169 extVersionCode = 170
libVersion = '1.2' libVersion = '1.2'
containsNsfw = true containsNsfw = true
} }

View File

@ -351,7 +351,7 @@ abstract class Madara(
// I don't know what's the corresponding for COMPLETED and LICENSED // I don't know what's the corresponding for COMPLETED and LICENSED
// There's no support for "Canceled" or "On Hold" // There's no support for "Canceled" or "On Hold"
"Completed", "Completo", "Concluído" -> SManga.COMPLETED "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 else -> SManga.UNKNOWN
} }
} }

View File

@ -219,6 +219,10 @@ class MadaraFactory : SourceFactory {
YuriVerso(), YuriVerso(),
ZinManga(), ZinManga(),
ZManga(), ZManga(),
GrazeScans(),
UyuyanBalik(),
MangaWeebs(),
MMScans(),
// removed because scanlator site and they requested // removed because scanlator site and they requested
// AhStudios(), // 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"))) { 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") 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")