change search query parameter (#6576)

This commit is contained in:
OncePunchedMan 2021-04-16 13:55:24 +02:00 committed by GitHub
parent 00568af9f6
commit 9d35c8638b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'Multporn'
pkgNameSuffix = 'en.multporn'
extClass = '.Multporn'
extVersionCode = 1
extVersionCode = 2
libVersion = '1.2'
containsNsfw = true
}

View File

@ -128,7 +128,7 @@ class Multporn : ParsedHttpSource() {
private fun buildSearchMangaRequest(page: Int, query: String, filtersArg: FilterList = FilterList()): Request {
val url = HttpUrl.parse("$baseUrl/search")!!.newBuilder()
.addQueryParameter("page", page.toString())
.addQueryParameter("search_api_views_fulltext", query)
.addQueryParameter("views_fulltext", query)
(if (filtersArg.isEmpty()) getFilterList(SEARCH_DEFAULT_SORT_BY_FILTER_STATE) else filtersArg).forEach {
when (it) {