-
Notifications
You must be signed in to change notification settings - Fork 3
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
Json数据部分不可见 #4
Comments
你指的数据不可见是指uid为0和名字有码吗?还是指face字段为null?
|
前者,在开始接收弹幕时user字段数据都是有正确数据的,但当过一定时间后,user字段就会变成 |
那可能是没登陆不让看了... |
参考这个issue: SocialSisterYi/bilibili-API-collect#732 |
ok 我知道怎么解决了 |
对Connector,RoomPlayInfoData增加uid字段,然后修改Connector::init方法和Connector::connect两个方法就解决了 |
直接在auth包里带上主播uid似乎也可以,看这个提交6ed6d97 |
你是在使用这个库吗,我计划周末规范下内部错误处理,把网络请求客户端迁移回reqwest然后发个包 |
是的 我fork了一份 用来当我 |
好的,欢迎提pr |
在按样例中运行后,DanmukuEvent的Json数据中user字段为
"user":{"uid":0,"uname":"故***","face":null}
这是否正常?
以下是完整的控制台打印:
{ "cmd": "DanmakuEvent", "data": { "flag": 0, "message": { "tag": "Plain", "data": { "message": "要破产啦(" } }, "user": { "uid": 0, "uname": "弦***", "face": null }, "fans_medal": { "anchor_roomid": 22389206, "guard_level": 0, "medal_level": 3, "medal_name": "自麂人" } }, "timestamp": 1689085901635 }
The text was updated successfully, but these errors were encountered: