ComicExtra: fix pagination in browse & latest (#13636)

closes #13635
This commit is contained in:
Riztard Lanthorn 2022-10-01 00:10:08 +07:00 committed by GitHub
parent 6cc6686d4e
commit 35d09dc3b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'ComicExtra'
pkgNameSuffix = 'en.comicextra'
extClass = '.ComicExtra'
extVersionCode = 10
extVersionCode = 11
}
apply from: "$rootDir/common.gradle"

View File

@ -34,9 +34,9 @@ class ComicExtra : ParsedHttpSource() {
override fun latestUpdatesSelector() = "div.hl-box"
override fun popularMangaRequest(page: Int) = GET("$baseUrl/popular-comic", headers)
override fun popularMangaRequest(page: Int) = GET("$baseUrl/popular-comic/$page", headers)
override fun latestUpdatesRequest(page: Int) = GET("$baseUrl/comic-updates", headers)
override fun latestUpdatesRequest(page: Int) = GET("$baseUrl/comic-updates/$page", headers)
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
return if (query.isNotBlank()) {