Extra safety fix

This commit is contained in:
Blatzar 2022-07-19 16:19:48 +02:00
parent 6ebcf44147
commit 36b30c289a
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class AnimeWorldProvider : MainAPI() {
private suspend fun getCookies(url: String): Map<String, String> {
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 = """