change search url (#5351)
This commit is contained in:
parent
3dd846cc3c
commit
c5ca78c461
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'ManhwaManga.net'
|
||||
pkgNameSuffix = 'en.manhwamanga'
|
||||
extClass = '.ManhwaManga'
|
||||
extVersionCode = 2
|
||||
extVersionCode = 3
|
||||
libVersion = '1.2'
|
||||
containsNsfw = true
|
||||
}
|
||||
|
|
|
@ -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 ->
|
||||
|
|
Loading…
Reference in New Issue