[Add] Adonis Fansub (#1732)

* Add AdonisFansub

* Update build.gradle
This commit is contained in:
happywillow0 2019-11-01 17:10:41 -04:00 committed by arkon
parent 14e8d1ceff
commit 00fc73e56f
2 changed files with 8 additions and 2 deletions

View File

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

View File

@ -48,7 +48,8 @@ class MadaraFactory : SourceFactory {
ManwahentaiMe(),
Manga3asq(),
NManhwa(),
Indiancomicsonline()
Indiancomicsonline(),
AdonisFansub()
)
}
@ -210,3 +211,8 @@ class NManhwa : Madara("N Manhwa", "https://nmanhwa.com", "en") {
}
class Indiancomicsonline : Madara("Indian Comics Online", "http://www.indiancomicsonline.com", "hi")
class AdonisFansub : Madara("Adonis Fansub", "https://manga.adonisfansub.com", "tr") {
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)
}