Update mian.py

This commit is contained in:
sijiyo 2023-07-21 19:14:18 +08:00 committed by GitHub
parent 33440c7733
commit 96a06405a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,6 @@ def main(captchaId, challenge):
detail_time = res['data']["pow_detail"]["datetime"] detail_time = res['data']["pow_detail"]["datetime"]
with open('jiyan.js', 'r', encoding='utf-8') as f: with open('jiyan.js', 'r', encoding='utf-8') as f:
js = execjs.compile(f.read()) js = execjs.compile(f.read())
key = js.call('get_key')
w = js.call('get_w', captchaId, lot_number, detail_time, distance, passtime, track) w = js.call('get_w', captchaId, lot_number, detail_time, distance, passtime, track)
url = "https://gcaptcha4.geetest.com/verify" url = "https://gcaptcha4.geetest.com/verify"
params = { params = {