-
Notifications
You must be signed in to change notification settings - Fork 2
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
RPCError: 400: CHANNEL_PRIVATE (caused by channels.GetChannels) #6
Comments
这个暂时没有办法代码上解决,相关issue:gram-js/gramjs#742 不过你可以手机上TG,把每一个群都点一遍,然后会有一些群提示private什么的,确定,把回话消掉,全部点完,再运行,应该就好了 |
一定会有这种群提示么,我翻了一圈没找见 |
还有一个办法代码解决,这里改成循环一个一个获取,然后使用promise catch,如果报private的异常,就跳过这个频道,留下好的 Lines 89 to 91 in 3dc101e
|
嗯,我再试试 |
能设置后台运行么 |
你可以使用nohup等工具来实现后台运行,还有不确定是tg问题还是什么问题,我这边windows运行,在运行几个小时后会出现采集完全不动的情况,建议写个脚本每隔1-2小时重启爬虫,由于支持断点续爬,所以可以放心强杀重启 |
ok |
正常的,库有自动重连功能的 |
请问如何获取图片的http链接,因为我需要转发下消息 |
不存在直链,你要转发消息可用api转发,https://gram.js.org/tl/messages/ForwardMessages#messagesforwardmessages |
主要想往微信转发,看起来方便 |
linux也存在,做了1小时的重启,谢谢 |
这个请问需要修改哪里
The text was updated successfully, but these errors were encountered: