change search url (#5351)

This commit is contained in:
OncePunchedMan 2021-01-08 00:51:19 +00:00 committed by GitHub
parent 3dd846cc3c
commit c5ca78c461
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 = 'ManhwaManga.net'
pkgNameSuffix = 'en.manhwamanga'
extClass = '.ManhwaManga'
extVersionCode = 2
extVersionCode = 3
libVersion = '1.2'
containsNsfw = true
}

View File

@ -43,7 +43,7 @@ class ManhwaManga : ParsedHttpSource() {
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
return if (query.isNotBlank()) {
GET("$baseUrl/s?s=$query", headers)
GET("$baseUrl/?s=$query", headers)
} else {
val url = HttpUrl.parse("$baseUrl/category/")!!.newBuilder()
filters.forEach { filter ->