From d4075528b867f33c3174b7aeaa7b72f4a6011efb Mon Sep 17 00:00:00 2001 From: Womsxd <45663319+Womsxd@users.noreply.github.com> Date: Sat, 8 Oct 2022 21:36:35 +0800 Subject: [PATCH] fix --- genshin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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