diff --git a/src/pt/bakai/build.gradle b/src/pt/bakai/build.gradle index 5817d0272..26f9f73b2 100644 --- a/src/pt/bakai/build.gradle +++ b/src/pt/bakai/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Bakai' pkgNameSuffix = 'pt.bakai' extClass = '.Bakai' - extVersionCode = 3 + extVersionCode = 4 isNsfw = true } diff --git a/src/pt/bakai/src/eu/kanade/tachiyomi/extension/pt/bakai/Bakai.kt b/src/pt/bakai/src/eu/kanade/tachiyomi/extension/pt/bakai/Bakai.kt index 576c45090..1fc5afa77 100644 --- a/src/pt/bakai/src/eu/kanade/tachiyomi/extension/pt/bakai/Bakai.kt +++ b/src/pt/bakai/src/eu/kanade/tachiyomi/extension/pt/bakai/Bakai.kt @@ -44,7 +44,7 @@ class Bakai : ParsedHttpSource() { override fun popularMangaNextPageSelector(): String = latestUpdatesNextPageSelector() override fun latestUpdatesRequest(page: Int): Request { - val path = if (page > 1) "home/page/$page/" else "" + val path = if (page > 1) "home2/page/$page/" else "" return GET("$baseUrl/$path", headers) } @@ -60,7 +60,7 @@ class Bakai : ParsedHttpSource() { "#elCmsPageWrap ul.ipsPagination li.ipsPagination_next:not(.ipsPagination_inactive)" override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request { - val url = "$baseUrl/search/".toHttpUrl().newBuilder() + val url = "$baseUrl/search2/".toHttpUrl().newBuilder() .addQueryParameter("q", query) .addQueryParameter("type", "cms_records1") .addQueryParameter("search_in", "titles")