Comments (5)
主要是获取好友 qq 那里会返回 502 错误,应该是腾讯服务器的限制,以前都没这个问题。暂时可以把第 552 行这里的 nTO < 9 改大一点,多试几次。
if nCE < 5 and nTO < 9 and nUE < 3 and nDE <= repeatOnDeny:
DEBUG('第%d次请求“%s”时出现“%s”, html=%s',
nCE+nTO+nUE+nDE, url, errorInfo, repr(html))
else:
CRITICAL('第%d次请求“%s”时出现“%s”,终止 QQBot',
nCE+nTO+nUE+nDE, url, errorInfo)
raise RequestError # (SystemExit)
如果还是不行,那就在上面的 else 下面加:
if url.startswith('http://s.web2.qq.com/api/get_friend_uin2'):
return {'account': -1}
先返回一个无效qq号码。
暂时先这样解决。
from qqbot.
from qqbot.
好。
from qqbot.
问题中的问题已在最新的代码中得到修复,感谢原作者pandolia,他的代码考虑的更为周到,我很喜欢这个项目,很荣幸可以被merge
from qqbot.
不客气。也感谢您的帮助!
from qqbot.
Related Issues (20)
- 获取不了入群时间和最后发言时间 HOT 1
- 现在还有禁言功能吗 HOT 1
- urllib2 python3没有了,要用urllib.request代替
- 邮箱配合 http 使用二维码有一些设定问题 HOT 3
- 获取群列表失败 HOT 16
- 近期总是这样卡住 HOT 1
- 登录信息过期,邮箱没收到新的二维码 HOT 2
- 邮箱收不到验证码 HOT 3
- bug report HOT 7
- 是否可以设置不接收群消息 HOT 1
- bot.send接口有较大可能卡顿30秒 HOT 3
- 服务器模式URL得要怎么输出返回或者发给POST之类的 HOT 2
- Smart QQ将于2019年1月1日停止服务??? HOT 42
- 做成服务器扫描的那种形式 如果多个QQ号在服务器上登录 因为ip都是用服务器ip 多个QQ号在同一个ip上登录被禁封怎么办 能不能加一个类似shadowsocks端口转发的选项或者插件 在用户那里安装一个shadowsock客户端 然后服务器这边以用户的ip操作他的那个QQBOT!!! 求解 HOT 1
- 请问一个或许与技术无关的问题,腾讯smartqq关闭服务后,是不是机器人就无法使用了? HOT 5
- Just suggest users to use other framework to devlop qq robot.
- [CRITICAL] QQBOT 异常停止(code=1)
- why stop? HOT 1
- qqbot 已无法使用,可使用 js-bot 替代
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qqbot.