fix
This commit is contained in:
parent
96425586e8
commit
d4075528b8
@ -60,7 +60,7 @@ class Genshin:
|
||||
continue
|
||||
data = req.json()
|
||||
if data["retcode"] == 0 and data["data"]["success"] == 1:
|
||||
validate = captcha.game_captcha()
|
||||
validate = captcha.game_captcha(data["data"]["gt"], data["data"]["challenge"])
|
||||
if validate is not None:
|
||||
header["x-rpc-challenge"] = data["data"]["challenge"]
|
||||
header["x-rpc-validate"] = validate
|
||||
|
Loading…
Reference in New Issue
Block a user