added 2 new sources to madara (#5514)

This commit is contained in:
OncePunchedMan 2021-01-23 15:08:03 +00:00 committed by GitHub
parent 23d2e65aa2
commit b32647e702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

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

View File

@ -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", "Completo", "Concluído" -> SManga.COMPLETED
"Devam Ediyor", "OnGoing", "Продолжается", "Updating", "Em Lançamento", "Em andamento" -> SManga.ONGOING
"Completed", "Completo", "Concluído", "Tamamlandı", "Tamamlandı." -> SManga.COMPLETED
"OnGoing", "Продолжается", "Updating", "Em Lançamento", "Em andamento", "Devam Ediyor", "Devam Ediyor." -> SManga.ONGOING
else -> SManga.UNKNOWN
}
}

View File

@ -50,6 +50,7 @@ class MadaraFactory : SourceFactory {
CatOnHeadTranslations(),
CatTranslator(),
ChibiManga(),
CloverManga(),
ComicKiba(),
ComicsValley(),
CopyPasteScan(),
@ -212,6 +213,7 @@ class MadaraFactory : SourceFactory {
TurkceManga(),
TwilightScans(),
UyuyanBalik(),
VanguardBun(),
Voidscans(),
Wakascan(),
WarQueenScan(),
@ -1528,3 +1530,7 @@ class SekteDoujin : Madara("Sekte Doujin", "https://sektedoujin.xyz", "id")
class MundoWuxia : Madara("Mundo Wuxia", "https://mundowuxia.com", "es", SimpleDateFormat("MMMM dd, yyyy", Locale("es")))
class WorldRomanceTranslation : Madara("World Romance Translation", "https://wrt.my.id/", "id", SimpleDateFormat("dd MMMM yyyy", Locale("id")))
class CloverManga : Madara("Clover Manga", "https://clover-manga.com/", "tr", SimpleDateFormat("MMMM dd, yyyy", Locale("tr")))
class VanguardBun : Madara("Vanguard Bun", "https://vanguardbun.com/", "en")