Fix Gufeng Manhua Search (#2143)

Fix Gufeng Manhua Search
This commit is contained in:
happywillow0 2020-01-29 07:47:36 -05:00 committed by GitHub
parent 72b25fbd4b
commit f7f5e76384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: Gufeng Manhua' appName = 'Tachiyomi: Gufeng Manhua'
pkgNameSuffix = 'zh.gufengmh' pkgNameSuffix = 'zh.gufengmh'
extClass = '.Gufengmh' extClass = '.Gufengmh'
extVersionCode = 2 extVersionCode = 3
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -46,6 +46,7 @@ class Gufengmh : ParsedHttpSource() {
val uri = Uri.parse(baseUrl).buildUpon() val uri = Uri.parse(baseUrl).buildUpon()
if (query.isNotBlank()) { if (query.isNotBlank()) {
uri.appendPath("search") uri.appendPath("search")
.appendEncodedPath("")
.appendQueryParameter("keywords", query) .appendQueryParameter("keywords", query)
.appendQueryParameter("page", page.toString()) .appendQueryParameter("page", page.toString())
} else { } else {