-
Notifications
You must be signed in to change notification settings - Fork 146
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
关于收不到弹幕的问题 #145
Comments
但這需要登陸, 彈幕姬不會使用登陸的方式 |
目前只有在身份认证时将UID设置为 |
why close? |
目前也没有更好的解决方案,如果有的话在 Reopen 吧 |
方案倒是有, 走开放平台也不是不行, 见 https://t.bilibili.com/768514686210539521 |
登录的话有能获取到用户名的方案吗? |
我测了下,在请求 https://api.live.bilibili.com/xlive/web-room/v1/index/getDanmuInfo 的时候带上cookie,拿着响应的token在WS鉴权是可以获取到用户名的 |
duplicate #144 |
最近发现有时候会收不到弹幕消息,然后进行了亿点简短的测试,以下仅为测试的猜测结果。
在请求
https://api.live.bilibili.com/xlive/web-room/v1/index/getDanmuInfo
的时候需要携带 Cookie。Cookie 中只需要包含SESSDATA
即可。在进行身份认证的时候,
uid
字段需要与SESSDATA
所有者的 UID 相对应。时间有限,仅做了一部分测试,希望作者能参考并帮助测试一下。
The text was updated successfully, but these errors were encountered: