Add Projeto Scanlator and Hikari Scan. (#4529)

This commit is contained in:
Alessandro Jean 2020-10-05 14:53:58 -03:00 committed by GitHub
parent 3ae4a27550
commit 8b86b75841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 4 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Madara (multiple sources)'
pkgNameSuffix = "all.madara"
extClass = '.MadaraFactory'
extVersionCode = 138
extVersionCode = 139
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" -> SManga.COMPLETED
"OnGoing", "Продолжается", "Updating", "Em Lançamento" -> SManga.ONGOING
"Completed", "Completo", "Concluído" -> SManga.COMPLETED
"OnGoing", "Продолжается", "Updating", "Em Lançamento", "Em andamento" -> SManga.ONGOING
else -> SManga.UNKNOWN
}
}

View File

@ -169,7 +169,9 @@ class MadaraFactory : SourceFactory {
OlaoeManga(),
FdmScan(),
ArgosScan(),
Kombatch()
Kombatch(),
ProjetoScanlator(),
HikariScan()
// Removed by request of site owner
// EarlyManga(),
// MangaGecesi(),
@ -1301,3 +1303,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 ProjetoScanlator : Madara("Projeto Scanlator", "https://projetoscanlator.com", "pt-BR", SimpleDateFormat("dd/MM/yyyy", Locale("pt", "BR")))
class HikariScan : Madara("Hikari Scan", "https://hikariscan.com.br", "pt-BR", SimpleDateFormat("dd 'de' MMMM 'de' yyyy", Locale("pt", "BR")))