Skip to content
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

希望增加对b站“直播回放”的嗅探下载支持 #98

Open
NoelZong opened this issue Jan 17, 2021 · 1 comment
Open

希望增加对b站“直播回放”的嗅探下载支持 #98

NoelZong opened this issue Jan 17, 2021 · 1 comment

Comments

@NoelZong
Copy link

希望增加对b站“直播回放”的嗅探下载支持。
https://live.bilibili.com/record/R19x411c7R6这种链接,用idm看了一下是30分钟分段,不知道大佬能连同弹幕一起嗅探下载下来不。
感谢🙏

哪一个页面?

出了什么问题?

用的浏览器是?

@Xmader
Copy link
Owner

Xmader commented Jan 17, 2021

https://api.live.bilibili.com/xlive/web-room/v1/record/getLiveRecordUrl?rid=R19x411c7R6&platform=html5
直播回放是用上述 API 请求每一个的分段 (flv) 的 URL,一个一个下载就好了。
在 bilitwin 中合并估计会存在问题,因为文件太大了

弹幕相关 API
获取弹幕分页信息 (index_info)
https://api.live.bilibili.com/xlive/web-room/v1/record/getInfoByLiveRecord?rid=<rid>
按分页获取弹幕
https://api.live.bilibili.com/xlive/web-room/v1/dM/getDMMsgByPlayBackID?rid=<rid>&index=<index>
(content-type: application/x-protobufapplication/json)

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

No branches or pull requests

2 participants