diff --git a/genshin.py b/genshin.py index 60720f5..d0f7912 100644 --- a/genshin.py +++ b/genshin.py @@ -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