mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-22 10:22:47 +01:00
Rawdevart.art: Fix pagination (#816)
This commit is contained in:
parent
fd1554905f
commit
b4260c14ce
@ -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
Block a user