Madara Updates (#4627)

Madara Updates
This commit is contained in:
Riztard Lanthorn 2020-10-18 05:30:57 +07:00 committed by GitHub
parent 0a2a4d56ab
commit 1b3412993d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 1 deletions

View File

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

View File

@ -41,6 +41,7 @@ class MadaraFactory : SourceFactory {
Bakaman(),
BestManga(),
BoysLove(),
CatOnHeadTranslations(),
CatTranslator(),
ChibiManga(),
ComicKiba(),
@ -81,6 +82,7 @@ class MadaraFactory : SourceFactory {
MangaAction(),
MangaArabTeam(),
MangaBob(),
MangaClash(),
MangaDods(),
MangaHentai(),
MangaKiss(),
@ -134,6 +136,7 @@ class MadaraFactory : SourceFactory {
NijiTranslations(),
NinjaScans(),
Ninjavi(),
OffScan(),
OnManga(),
OrigamiOrpheans(),
PMScans(),
@ -186,6 +189,22 @@ class MadaraFactory : SourceFactory {
)
}
class CatOnHeadTranslations : Madara("CatOnHeadTranslations", "https://catonhead.com", "en")
class OffScan : Madara(
"Off Scan",
"https://offscan.top",
"pt-BR",
dateFormat = SimpleDateFormat("dd/MM/yy", Locale.US)
)
class MangaClash : Madara(
"Manga Clash",
"https://mangaclash.com",
"en",
dateFormat = SimpleDateFormat("MM/dd/yy", Locale.US)
)
class TritiniaScans : Madara("TritiniaScans", "https://tritiniaman.ga", "en") {
// site is a bit broken
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/manga/index_m_orderby=views.html", headers)