Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

获取群列表失败 #380

Open
darkbfly opened this issue Nov 23, 2018 · 16 comments
Open

获取群列表失败 #380

darkbfly opened this issue Nov 23, 2018 · 16 comments

Comments

@darkbfly
Copy link

[2018-11-23 11:38:17] [ERROR] 第7次请求“http://s.web2.qq.com/api/get_group_name
_list_mask2”时出现 请求被拒绝错误, html='{"retcode":13}'
[2018-11-23 11:38:17] [ERROR] 获取 群列表 失败

请问一下这个可能是什么问题

@haozxuan
Copy link

me too,我也遇到这个问题,但是我尝试普通qq号是正常的,企业QQ号中,讨论组也可以获取,不过大部分群组都获取不到。异常及错误码都与楼主一样

@haozxuan
Copy link

进一步验证,当群组处于内部模式时,无法获取

@JoffreyN
Copy link

JoffreyN commented Dec 4, 2018

[2018-12-04 13:48:59] [INFO] 正在获取 群列表 ...
[2018-12-04 13:49:03] [ERROR] 第7次请求“http://s.web2.qq.com/api/get_group_name_list_mask2”时出现 请求被拒绝错误, html='{"retcode":50}'
[2018-12-04 13:49:03] [ERROR] 获取 群列表 失败

@AsukaSong
Copy link

[2018-12-04 13:55:40] [INFO] 正在获取 群列表 ...
[2018-12-04 13:55:44] [ERROR] 第7次请求“http://s.web2.qq.com/api/get_group_name_list_mask2”时出现 请求被拒绝错误, html='{"retcode":50}'
[2018-12-04 13:55:44] [ERROR] 获取 群列表 失败

[2018-12-04 13:57:08] [INFO] 正在获取 好友列表 ...
[2018-12-04 13:57:10] [ERROR] 第5次请求“http://s.web2.qq.com/api/get_user_friends2”时出现 请求被拒绝错误, html='{"retcode":100100}'
[2018-12-04 13:57:10] [ERROR] 获取 好友列表 失败

@AsukaSong
Copy link

any progress?

@CastleJing
Copy link

[2018-12-04 21:13:11] [INFO] 正在获取 群列表 ...
[2018-12-04 21:13:17] [ERROR] 第7次请求“http://s.web2.qq.com/api/get_group_name_list_mask2”时出现 请求被拒绝错误, html='{"retcode":50}'
[2018-12-04 21:13:17] [ERROR] 获取 群列表 失败
[2018-12-04 21:13:17] [INFO] 来自 群“uin2268309062”[成员“uin1695967851”] 的消息: "test"

同样的错误

@LonelySteve
Copy link

qqbot[7800]: [2018-12-04 22:30:05] [INFO] 正在获取 群列表 ...
qqbot[7800]: [2018-12-04 22:30:09] [ERROR] 第7次请求“http://s.web2.qq.com/api/get_group_name_list_mask2”时出现 请求被拒绝错误, html='{"retcode":50}'
qqbot[7800]: [2018-12-04 22:30:09] [ERROR] 获取 群列表 失败
qqbot[7800]: [2018-12-04 22:30:13] [INFO] 正在获取 群列表 ...
qqbot[7800]: [2018-12-04 22:30:17] [ERROR] 第7次请求“http://s.web2.qq.com/api/get_group_name_list_mask2”时出现 请求被拒绝错误, html='{"retcode":50}'
qqbot[7800]: [2018-12-04 22:30:17] [ERROR] 获取 群列表 失败
qqbot[7800]: [2018-12-04 22:30:22] [INFO] 正在获取 群列表 ...
qqbot[7800]: [2018-12-04 22:30:26] [ERROR] 第7次请求“http://s.web2.qq.com/api/get_group_name_list_mask2”时出现 请求被拒绝错误, html='{"retcode":50}'
qqbot[7800]: [2018-12-04 22:30:26] [ERROR] 获取 群列表 失败
qqbot[7800]: [2018-12-04 22:30:31] [INFO] 正在获取 群列表 ...
qqbot[7800]: [2018-12-04 22:30:35] [ERROR] 第7次请求“http://s.web2.qq.com/api/get_group_name_list_mask2”时出现 请求被拒绝错误, html='{"retcode":50}'
qqbot[7800]: [2018-12-04 22:30:35] [ERROR] 获取 群列表 失败
qqbot[7800]: [2018-12-04 22:30:39] [INFO] 正在获取 群列表 ...
qqbot[7800]: [2018-12-04 22:30:42] [ERROR] 第7次请求“http://s.web2.qq.com/api/get_group_name_list_mask2”时出现 请求被拒绝错误, html='{"retcode":50}'
qqbot[7800]: [2018-12-04 22:30:42] [ERROR] 获取 群列表 失败
qqbot[7800]: [2018-12-04 22:31:00] [ERROR] 接收消息出错,开始测试登录 cookie 是否过期...

服务器上运行 +1 QAQ

@yexianingyue
Copy link

感觉是凉透了,慢慢全部关闭,就没有什么用了。转移吧,随便哪里都行

@pandolia
Copy link
Owner

pandolia commented Dec 5, 2018

这个问题,请先参考 https://www.jianshu.com/p/5a38cb7bfeca 解决。

@haozxuan
Copy link

haozxuan commented Dec 5, 2018

@pandolia 6666厉害了,不过像这种接口API协议替换的问题,难道是一个个试出来的,还是说简书那个人是腾讯内部的?

@pandolia
Copy link
Owner

pandolia commented Dec 5, 2018

应该是通过 webqq 上浏览器抓包分析的。

@haozxuan
Copy link

haozxuan commented Dec 5, 2018

@pandolia 也是脑子活络的人物,我先修改下,看能否获取到企业QQ内部群的qq号相关,不行的话就只能人工录入了,待验证成功后,再回来返回,到时候麻烦大佬,抽空也更新下项目;

@AsukaSong
Copy link

it works, thx for help

@pandolia
Copy link
Owner

pandolia commented Dec 5, 2018

已经修改代码并上传 git ,请按以下命令重新安装:

echo y | pip uninstall qqbot
git clone git@github.com:pandolia/qqbot.git
cd qqbot
pip install .

@pandolia
Copy link
Owner

pandolia commented Dec 6, 2018

已上传 pip ,可直接用 pip 重新安装。

echo y | pip uninstall qqbot
pip install qqbot

@haozxuan
Copy link

haozxuan commented Dec 7, 2018

@darkbfly 经验证,使用web.qq.com扫码登录,同样该API返回值{"retcode":13} 而使用普通QQ登录可以获取数据。故推测该错误码为不支持企业QQ群信息获取

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

No branches or pull requests

8 participants