forked from recloudstream/cloudstream
Extra safety fix
This commit is contained in:
parent
6ebcf44147
commit
36b30c289a
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class AnimeWorldProvider : MainAPI() {
|
||||||
private suspend fun getCookies(url: String): Map<String, String> {
|
private suspend fun getCookies(url: String): Map<String, String> {
|
||||||
val rhino = Context.enter()
|
val rhino = Context.enter()
|
||||||
rhino.optimizationLevel = -1
|
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 = app.get("https://www.animeworld.tv/aes.min.js").text
|
||||||
// val slowAes = """
|
// val slowAes = """
|
||||||
|
|
Loading…
Reference in a new issue