Open jungle-D opened 2 years ago
python version: Python 3.10.7 os: Mac
[] 微信网页版 ... 开动 2022-09-07 11:07:11 zhanyixangdeMBP root[5727] DEBUG [] 微信网页版 ... 开动 [] 正在获取 uuid ... 成功 2022-09-07 11:07:11 zhanyixangdeMBP root[5727] DEBUG [] 正在获取 uuid ... ... 成功 [] 正在获取二维码 ... 成功 2022-09-07 11:07:11 zhanyixangdeMBP root[5727] DEBUG [] 微信网页版 ... 开动 2022-09-07 11:07:12 zhanyixangdeMBP root[5727] DEBUG Saved file: /Users/zhanyixiang/WeixinBot/wxbot_demopy3/saved/qrcodes/qrcode.jpg [*] 请使用微信扫描二维码以登录 ... 2022-09-07 11:07:24 zhanyixangdeMBP root[5727] DEBUG https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?tip=1&uuid=4fqaA6MdAg==&=1662520033 2022-09-07 11:07:32 zhanyixangdeMBP root[5727] DEBUG https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?tip=0&uuid=4fqaA6MdAg==&_=1662520044 [*] 正在登录 ... 2022-09-07 11:07:32 zhanyixangdeMBP root[5727] ERROR generic exception: Traceback (most recent call last): File "/Users/zhanyixiang/WeixinBot/wxbot_demo_py3/weixin.py", line 1123, in _get data = response.read().decode('utf-8') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 339: invalid continuation byte
失败 [] 退出程序 2022-09-07 11:07:32 zhanyixangdeMBP root[5727] DEBUG [] 正在登录 ... ... 失败 2022-09-07 11:07:32 zhanyixangdeMBP root[5727] DEBUG [*] 退出程序
Did you try to fix the problem change the codec 'utf-8' to 'unicode_escape'?
我也这样的
python version: Python 3.10.7 os: Mac
[] 微信网页版 ... 开动 2022-09-07 11:07:11 zhanyixangdeMBP root[5727] DEBUG [] 微信网页版 ... 开动 [] 正在获取 uuid ... 成功 2022-09-07 11:07:11 zhanyixangdeMBP root[5727] DEBUG [] 正在获取 uuid ... ... 成功 [] 正在获取二维码 ... 成功 2022-09-07 11:07:11 zhanyixangdeMBP root[5727] DEBUG [] 微信网页版 ... 开动 2022-09-07 11:07:12 zhanyixangdeMBP root[5727] DEBUG Saved file: /Users/zhanyixiang/WeixinBot/wxbot_demopy3/saved/qrcodes/qrcode.jpg [*] 请使用微信扫描二维码以登录 ... 2022-09-07 11:07:24 zhanyixangdeMBP root[5727] DEBUG https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?tip=1&uuid=4fqaA6MdAg==&=1662520033 2022-09-07 11:07:32 zhanyixangdeMBP root[5727] DEBUG https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login?tip=0&uuid=4fqaA6MdAg==&_=1662520044 [*] 正在登录 ... 2022-09-07 11:07:32 zhanyixangdeMBP root[5727] ERROR generic exception: Traceback (most recent call last): File "/Users/zhanyixiang/WeixinBot/wxbot_demo_py3/weixin.py", line 1123, in _get data = response.read().decode('utf-8') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 339: invalid continuation byte
失败 [] 退出程序 2022-09-07 11:07:32 zhanyixangdeMBP root[5727] DEBUG [] 正在登录 ... ... 失败 2022-09-07 11:07:32 zhanyixangdeMBP root[5727] DEBUG [*] 退出程序