Urinx / WeixinBot

网页版微信API,包含终端版微信及微信机器人
Apache License 2.0
7.21k stars 1.98k forks source link

get UUID ERROR, 请问这个是哪里的问题? #294

Closed jungle-D closed 2 years ago

jungle-D commented 2 years ago

[] 微信网页版 ... 开动 2022-09-07 10:53:14 zhanyixangdeMBP root[5478] DEBUG [] 微信网页版 ... 开动 [] 正在获取 uuid ... 2022-09-07 10:53:14 zhanyixangdeMBP root[5478] ERROR URLError = [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997) Traceback (most recent call last): File "/Users/zhanyixiang/WeixinBot/wxbot_demo_py3/weixin.py", line 1219, in webwx.start() File "/Users/zhanyixiang/WeixinBot/wxbot_demo_py3/weixin.py", line 36, in wrapper return fn(args) File "/Users/zhanyixiang/WeixinBot/wxbot_demo_py3/weixin.py", line 974, in start self._run('[] 正在获取 uuid ... ', self.getUUID) File "/Users/zhanyixiang/WeixinBot/wxbot_demo_py3/weixin.py", line 1057, in _run if func(args): File "/Users/zhanyixiang/WeixinBot/wxbot_demo_py3/weixin.py", line 153, in getUUID data = self._post(url, params, False).decode("utf-8") AttributeError: 'str' object has no attribute 'decode'. Did you mean: 'encode'?

我使用的是python3