Rawdevart.art: Fix pagination (#816)
This commit is contained in:
parent
280d7eb814
commit
56f64ce41c
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = "Rawdevart.art"
|
||||
extClass = ".Rawdevartart"
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -57,10 +57,11 @@ class Rawdevartart : HttpSource() {
|
|||
|
||||
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
|
||||
val url = "$baseUrl/spa".toHttpUrl().newBuilder().apply {
|
||||
addQueryParameter("page", page.toString())
|
||||
|
||||
if (query.isNotEmpty()) {
|
||||
addPathSegment("search")
|
||||
addQueryParameter("query", query)
|
||||
addQueryParameter("page", page.toString())
|
||||
|
||||
return@apply
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue