ComicLatest: Get following pages in search (#3840)
* Update build.gradle * Get following pages in search
This commit is contained in:
parent
be3a2b2a89
commit
74de3291ce
@ -5,7 +5,7 @@ ext {
|
|||||||
extName = 'WP-Comics'
|
extName = 'WP-Comics'
|
||||||
pkgNameSuffix = 'all.wpcomics'
|
pkgNameSuffix = 'all.wpcomics'
|
||||||
extClass = '.WPComicsFactory'
|
extClass = '.WPComicsFactory'
|
||||||
extVersionCode = 12
|
extVersionCode = 13
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -126,12 +126,12 @@ private class ComicLatest : WPComics("ComicLatest", "https://comiclatest.com", "
|
|||||||
when (filter) {
|
when (filter) {
|
||||||
is AuthorFilter -> {
|
is AuthorFilter -> {
|
||||||
val author = filter.state.trim().replace(" ", "-").toLowerCase()
|
val author = filter.state.trim().replace(" ", "-").toLowerCase()
|
||||||
return GET("$baseUrl/author/$author", headers)
|
return GET("$baseUrl/author/$author?page=$page", headers)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return GET("$baseUrl/search?keyword=$query", headers)
|
return GET("$baseUrl/search?keyword=$query&page=$page", headers)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun searchMangaSelector() = "div.item div.box_img > a[title]"
|
override fun searchMangaSelector() = "div.item div.box_img > a[title]"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user