Fix Cloudscraper
ritornati alla vecchia versione di js2py modificata versione 1.1.24 di cloudscrape
This commit is contained in:
@@ -15,6 +15,9 @@ class ChallengeInterpreter(JavaScriptInterpreter):
|
||||
super(ChallengeInterpreter, self).__init__('js2py')
|
||||
|
||||
def eval(self, jsEnv, js):
|
||||
### blocca lo script
|
||||
|
||||
# from core.support import dbg; dbg()
|
||||
if js2py.eval_js('(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]') == '1':
|
||||
logging.warning('WARNING - Please upgrade your js2py https://github.com/PiotrDabkowski/Js2Py, applying work around for the meantime.')
|
||||
js = jsunfuck(js)
|
||||
|
||||
Reference in New Issue
Block a user