获取bilibili直播弹幕,使用WebSocket协议,支持web端和B站直播开放平台两种接口
Go to file
dependabot[bot] 7b50f1ea9c
Bump aiohttp from 3.5.4 to 3.7.4 (#15)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.5.4 to 3.7.4.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.5.4...v3.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 12:17:25 +08:00
.gitattributes Initial commit 2018-05-13 21:57:36 +08:00
.gitignore Initial commit 2018-05-13 21:57:36 +08:00
blivedm.py 添加接收消息超时 2021-01-31 13:47:32 +08:00
LICENSE Initial commit 2018-05-13 21:57:36 +08:00
README.md 提升README.md可读性 (#14) 2021-02-05 21:45:01 +08:00
requirements.txt Bump aiohttp from 3.5.4 to 3.7.4 (#15) 2021-02-26 12:17:25 +08:00
sample.py 提升README.md可读性 (#14) 2021-02-05 21:45:01 +08:00

blivedm

python3获取bilibili直播弹幕使用websocket协议

协议解释(有点过时了,总体是没错的)

基于本库开发的一个应用:blivechat

使用说明

  1. 使用pip install -r requirements.txt命令安装依赖,具体有目录下sample.pyblivedm.py用到的相关python依赖
  2. sample.py文件中的room_id替换为直播间ID