Closed muqiuhan closed 6 months ago
Traceback (most recent call last): File "/home/muqiu/Applications/MiUnlockTool/MiUnlockTool.py", line 194, in <module> data = json.loads(requests.get("https://account.xiaomi.com/pass/serviceLogin?sid=unlockApi&_json=true&passive=true&hidden=true", headers=headers, cookies={'passToken': p['passToken'], 'userId': str(p['userId']), 'deviceId': parse_qs(urlparse(p['location']).query)['d'][0]}).text.replace("&&&START&&&", "")) ~^^^^^^^^^^^^^ KeyError: 'passToken'
update MiUnlockTool
If the problem persists : https://github.com/offici5l/MiUnlockTool/issues/29
this issue was solved after updating MiUnlockTool.py.
MiUnlockTool.py