From 0f742fc4b9dc64548cb8272fc6904032a0f5b306 Mon Sep 17 00:00:00 2001 From: Claudemirovsky <63046606+Claudemirovsky@users.noreply.github.com> Date: Mon, 3 Jun 2024 14:22:04 -0300 Subject: [PATCH] refactor: headers go BRRRRRRRRT --- .../tachiyomi/animeextension/pt/animesgratis/Bakashi.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pt/animesgratis/src/eu/kanade/tachiyomi/animeextension/pt/animesgratis/Bakashi.kt b/src/pt/animesgratis/src/eu/kanade/tachiyomi/animeextension/pt/animesgratis/Bakashi.kt index 3cebd0e4ff..6874d5e93c 100644 --- a/src/pt/animesgratis/src/eu/kanade/tachiyomi/animeextension/pt/animesgratis/Bakashi.kt +++ b/src/pt/animesgratis/src/eu/kanade/tachiyomi/animeextension/pt/animesgratis/Bakashi.kt @@ -28,7 +28,7 @@ class Bakashi : DooPlay( // ============================== Popular =============================== override fun popularAnimeSelector() = "div.items.featured article div.poster" - override fun popularAnimeRequest(page: Int) = GET("$baseUrl/animes/") + override fun popularAnimeRequest(page: Int) = GET("$baseUrl/animes/", headers) // =============================== Search =============================== override fun searchAnimeSelector() = "div.result-item article div.thumbnail > a" @@ -99,7 +99,7 @@ class Bakashi : DooPlay( } // ============================== Filters =============================== - override fun genresListRequest() = GET("$baseUrl/animes/") + override fun genresListRequest() = popularAnimeRequest() override fun genresListSelector() = "div.filter > div.select:first-child option:not([disabled])" override fun genresListParse(document: Document): Array> {