From 62f13319e3dca4f4e776c4840a25084f9bc635f8 Mon Sep 17 00:00:00 2001 From: Blatzar <46196380+Blatzar@users.noreply.github.com> Date: Wed, 20 Jul 2022 15:30:17 +0200 Subject: [PATCH] Fixed AnimeWorldProvider --- .../cloudstream3/animeproviders/AnimeWorldProvider.kt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/animeproviders/AnimeWorldProvider.kt b/app/src/main/java/com/lagradost/cloudstream3/animeproviders/AnimeWorldProvider.kt index bd53c558..5b380330 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/animeproviders/AnimeWorldProvider.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/animeproviders/AnimeWorldProvider.kt @@ -31,11 +31,14 @@ class AnimeWorldProvider : MainAPI() { companion object { private var cookies = emptyMap() + // Disabled authentication as site did private suspend fun request(url: String): NiceResponse { - if (cookies.isEmpty()) { - cookies = getCookies(url) - } - return app.get(url, cookies = cookies) +// if (cookies.isEmpty()) { +// cookies = getCookies(url) +// } + return app.get(url +// , cookies = cookies + ) } private suspend fun getCookies(url: String): Map {