[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:
Angelghost 2020-04-19 15:17:56 +02:00 committed by GitHub
parent 8f5ddea8a1
commit 86e8e5569e
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 {
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'
} }

View File

@ -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)
} }