[BUG][fr-mangakawaii] fix the url to make manga search (#2709)
[BUG][fr-mangakawaii] fix the url to make manga search
This commit is contained in:
parent
8f5ddea8a1
commit
86e8e5569e
|
@ -5,7 +5,7 @@ ext {
|
||||||
appName = 'Tachiyomi: Mangakawaii'
|
appName = 'Tachiyomi: Mangakawaii'
|
||||||
pkgNameSuffix = 'fr.mangakawaii'
|
pkgNameSuffix = 'fr.mangakawaii'
|
||||||
extClass = '.MangaKawaii'
|
extClass = '.MangaKawaii'
|
||||||
extVersionCode = 5
|
extVersionCode = 6
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ class MangaKawaii : ParsedHttpSource() {
|
||||||
override fun popularMangaRequest(page: Int) = GET("$baseUrl/filterLists?page=$page&sortBy=views&asc=false", headers)
|
override fun popularMangaRequest(page: Int) = GET("$baseUrl/filterLists?page=$page&sortBy=views&asc=false", headers)
|
||||||
override fun latestUpdatesRequest(page: Int) = GET(baseUrl, headers)
|
override fun latestUpdatesRequest(page: Int) = GET(baseUrl, headers)
|
||||||
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
|
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
|
||||||
val uri = Uri.parse("$baseUrl/search").buildUpon()
|
val uri = Uri.parse("$baseUrl/search2").buildUpon()
|
||||||
.appendQueryParameter("query", query)
|
.appendQueryParameter("query", query)
|
||||||
return GET(uri.toString(), headers)
|
return GET(uri.toString(), headers)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue