Merge pull request #32 from Ayx03/patch-1
Some checks are pending
SyncMirror / sync (push) Waiting to run

修复 JSON 解析问题 / Fix nested JSON parsing error: correctly parse nested 'msg' field
This commit is contained in:
Pesy Wu 2024-12-04 15:43:58 +08:00 committed by GitHub
commit c730c98b42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -174,9 +174,7 @@ if __name__ == "__main__":
Signed = True
Over = False
elif (
json.loads(
json.loads(res.text)["data"]["list"][-1]["msg"]["msg"]
)
json.loads(json.loads(res.text)["data"]["list"][-1]["msg"])["msg"]
== "每日登录奖励"
):
success = True