修复 JSON 解析问题 / Fix nested JSON parsing error: correctly parse nested 'msg' field
This commit is contained in:
1 file changed
+1
-3
@@ -174,9 +174,7 @@ if __name__ == "__main__":
|
|||||||
Signed = True
|
Signed = True
|
||||||
Over = False
|
Over = False
|
||||||
elif (
|
elif (
|
||||||
json.loads(
|
json.loads(json.loads(res.text)["data"]["list"][-1]["msg"])["msg"]
|
||||||
json.loads(res.text)["data"]["list"][-1]["msg"]["msg"]
|
|
||||||
)
|
|
||||||
== "每日登录奖励"
|
== "每日登录奖励"
|
||||||
):
|
):
|
||||||
success = True
|
success = True
|
||||||
|
|||||||
Reference in new issue
Block a user