Madara - Add 365Manga, Disaster Scans (#2335)

Madara - Add 365Manga, Disaster Scans
This commit is contained in:
happywillow0 2020-03-01 20:17:29 -05:00 committed by GitHub
parent 08907a0896
commit c53c69a95c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Madara (multiple sources)'
pkgNameSuffix = "all.madara"
extClass = '.MadaraFactory'
extVersionCode = 58
extVersionCode = 59
libVersion = '1.2'
}

View File

@ -75,7 +75,9 @@ class MadaraFactory : SourceFactory {
NijiTranslations(),
IchirinNoHanaYuri(),
LilyManga(),
MangaBob()
MangaBob(),
ThreeSixtyFiveManga(),
DisasterScans()
)
}
@ -464,3 +466,10 @@ class LilyManga: Madara("Lily Manga","https://lilymanga.com","en",SimpleDateForm
class MangaBob: Madara("MangaBob","https://mangabob.com","en")
class ThreeSixtyFiveManga: Madara("365Manga","https://365manga.com","en") {
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/manga/page/$page/?m_orderby=views", headers)
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/manga/page/$page/?m_orderby=latest", headers)
}
class DisasterScans: Madara("Disaster Scans","https://disasterscans.com","en")