Compare commits

..

2 Commits

Author SHA1 Message Date
c730c98b42
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
2024-12-04 15:43:58 +08:00
ImAyx
27be047fac
Fix nested JSON parsing error: correctly parse nested 'msg' field 2024-12-04 14:22:00 +08:00

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