Bakai: Fix path (#7293)

Fix path
This commit is contained in:
Chopper 2025-01-23 15:07:56 -03:00 committed by Draff
parent 48913cde0a
commit ff790752e0
No known key found for this signature in database
GPG Key ID: E8A89F3211677653
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
ext {
extName = 'Bakai'
extClass = '.Bakai'
extVersionCode = 5
extVersionCode = 6
isNsfw = true
}

View File

@ -62,7 +62,7 @@ class Bakai : ParsedHttpSource() {
.set("Sec-GPC", "1")
// ============================== Popular ===============================
override fun popularMangaRequest(page: Int) = GET("$baseUrl/home3/page/$page/")
override fun popularMangaRequest(page: Int) = GET("$baseUrl/home/page/$page/")
override fun popularMangaSelector() = "#elCmsPageWrap ul > li > article"
@ -111,7 +111,7 @@ class Bakai : ParsedHttpSource() {
}
override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request {
val url = "$baseUrl/search3/".toHttpUrl().newBuilder()
val url = "$baseUrl/search/".toHttpUrl().newBuilder()
.addQueryParameter("q", query)
.addQueryParameter("type", "cms_records1")
.addQueryParameter("page", page.toString())