Fix Mangashiro next page selector (#3243)
* Fix Mangashiro next page selector * update build gradle
This commit is contained in:
parent
fc377d56ad
commit
317e8c4177
|
@ -5,7 +5,7 @@ ext {
|
|||
appName = 'Tachiyomi: Mangashiro'
|
||||
pkgNameSuffix = 'id.mangashiro'
|
||||
extClass = '.Mangashiro'
|
||||
extVersionCode = 3
|
||||
extVersionCode = 4
|
||||
libVersion = '1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -23,11 +23,11 @@ class Mangashiro : ParsedHttpSource() {
|
|||
override val client: OkHttpClient = network.cloudflareClient
|
||||
|
||||
override fun popularMangaRequest(page: Int): Request {
|
||||
return GET("$baseUrl/manga/page/$page/?order=popular", headers)
|
||||
return GET("$baseUrl/manga/?order=popular&page=$page", headers)
|
||||
}
|
||||
|
||||
override fun latestUpdatesRequest(page: Int): Request {
|
||||
return GET("$baseUrl/manga/page/$page/?order=latest", headers)
|
||||
return GET("$baseUrl/manga/?order=update&page=$page", headers)
|
||||
}
|
||||
|
||||
override fun popularMangaSelector() = "div.bs"
|
||||
|
@ -37,7 +37,7 @@ class Mangashiro : ParsedHttpSource() {
|
|||
override fun popularMangaFromElement(element: Element): SManga = searchMangaFromElement(element)
|
||||
override fun latestUpdatesFromElement(element: Element): SManga = searchMangaFromElement(element)
|
||||
|
||||
override fun popularMangaNextPageSelector() = "a.next.page-numbers"
|
||||
override fun popularMangaNextPageSelector() = "a.r"
|
||||
override fun latestUpdatesNextPageSelector() = popularMangaNextPageSelector()
|
||||
override fun searchMangaNextPageSelector() = popularMangaNextPageSelector()
|
||||
|
||||
|
|
Loading…
Reference in New Issue