Madara - add Top Manhua (#2688)

This commit is contained in:
Mike 2020-04-16 23:18:05 -04:00 committed by GitHub
parent d1e1cae0ae
commit a37ad95ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

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

View File

@ -99,7 +99,8 @@ class MadaraFactory : SourceFactory {
Manga68(),
ManhuaBox(),
RaiderScans(),
PojokManga()
PojokManga(),
TopManhua()
)
}
@ -560,5 +561,6 @@ class RaiderScans : Madara("Raider Scans", "https://raiderscans.com", "en")
class PojokManga : Madara("Pojok Manga", "https://pojokmanga.com", "id", SimpleDateFormat("MMM dd, yyyy", Locale.US))
class TopManhua : Madara("Top Manhua", "https://topmanhua.com", "en", SimpleDateFormat("MM/dd/yy", Locale.US)) {
override fun headersBuilder(): Headers.Builder = super.headersBuilder().add("Referer", baseUrl)
}