Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

扫描二维码无法登陆 #295

Open
jungle-D opened this issue Sep 7, 2022 · 2 comments
Open

扫描二维码无法登陆 #295

jungle-D opened this issue Sep 7, 2022 · 2 comments

Comments

@jungle-D
Copy link

jungle-D commented Sep 7, 2022

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_demo_py3/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 [*] 退出程序

@zavs
Copy link

zavs commented Dec 26, 2022

Did you try to fix the problem change the codec 'utf-8' to 'unicode_escape'?

@jzhou3700
Copy link

我也这样的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants