mirror of
https://github.com/sijiyo/projects.git
synced 2025-04-12 03:26:58 +08:00
Update mian.py
This commit is contained in:
parent
94d9f32e3f
commit
33440c7733
@ -22,7 +22,6 @@ def main(captchaId, challenge):
|
||||
detail_time = res['data']["pow_detail"]["datetime"]
|
||||
with open('jiyan.js', 'r', encoding='utf-8') as f:
|
||||
js = execjs.compile(f.read())
|
||||
key = js.call('get_key')
|
||||
w = js.call('get_w', captchaId, lot_number, detail_time)
|
||||
url = "https://gcaptcha4.geetest.com/verify"
|
||||
params = {
|
||||
@ -45,4 +44,4 @@ def main(captchaId, challenge):
|
||||
if __name__ == '__main__':
|
||||
captchaId = get_captchaId()
|
||||
challenge = str(uuid.uuid4())
|
||||
main(captchaId, challenge)
|
||||
main(captchaId, challenge)
|
||||
|
Loading…
x
Reference in New Issue
Block a user