From 36b30c289a2e09845e159800f8a6b3e5fbc347ef Mon Sep 17 00:00:00 2001 From: Blatzar <46196380+Blatzar@users.noreply.github.com> Date: Tue, 19 Jul 2022 16:19:48 +0200 Subject: [PATCH] Extra safety fix --- .../lagradost/cloudstream3/animeproviders/AnimeWorldProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5e911108..bd53c558 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/animeproviders/AnimeWorldProvider.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/animeproviders/AnimeWorldProvider.kt @@ -41,7 +41,7 @@ class AnimeWorldProvider : MainAPI() { private suspend fun getCookies(url: String): Map { val rhino = Context.enter() rhino.optimizationLevel = -1 - val scope: Scriptable = rhino.initStandardObjects() + val scope: Scriptable = rhino.initSafeStandardObjects() val slowAes = app.get("https://www.animeworld.tv/aes.min.js").text // val slowAes = """