Madara - WuxiaWorld update (#1609)

Madara - WuxiaWorld update
This commit is contained in:
Mike 2019-10-03 22:14:35 -04:00 committed by arkon
parent 2aa04fe518
commit 5ff8947108
2 changed files with 4 additions and 10 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Madara'
pkgNameSuffix = "all.madara"
extClass = '.MadaraFactory'
extVersionCode = 15
extVersionCode = 16
libVersion = '1.2'
}

View File

@ -43,7 +43,6 @@ class MadaraFactory : SourceFactory {
YoManga(),
ManyToon(),
ChibiManga(),
ToomicsMe(),
ZinManga(),
ManwahentaiMe(),
Manga3asq()
@ -148,11 +147,9 @@ class MangaSY : Madara("Manga SY", "https://www.mangasy.com/", "en") {
}
class ManwhaClub : Madara("Manwha Club", "https://manhwa.club/", "en")
class WuxiaWorld : Madara("WuxiaWorld", "https://wuxiaworld.site/", "en") {
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/tag/webcomics/page/$page/?m_orderby=views", headers)
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/tag/webcomics/page/$page/?m_orderby=latest", headers)
override fun popularMangaSelector() = "div.page-item-detail"
override fun latestUpdatesSelector() = "div.page-item-detail"
override fun getFilterList() = FilterList()
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/tag/comics/page/$page/?m_orderby=views", headers)
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/tag/comics/page/$page/?m_orderby=latest", headers)
override fun searchMangaRequest(page: Int, query: String, filters: FilterList) = super.searchMangaRequest(page, "$query comics", filters)
}
class YoManga : Madara("Yo Manga", "https://yomanga.info/", "en") {
override fun searchMangaNextPageSelector() = "nav.navigation-ajax"
@ -163,9 +160,6 @@ class ManyToon : Madara("ManyToon", "https://manytoon.com/", "en") {
class ChibiManga : Madara("Chibi Manga", "http://www.cmreader.info/", "en") {
override fun searchMangaNextPageSelector() = "nav.navigation-ajax"
}
class ToomicsMe : Madara("Toomics.me", "https://app.toomics.me/", "en") {
override fun searchMangaNextPageSelector() = "nav.navigation-ajax"
}
class ZinManga : Madara("Zin Translator", "https://zinmanga.com/", "en") {
override fun searchMangaNextPageSelector() = "nav.navigation-ajax"
}