https://github.com/xfgryujk/blivedm
获取bilibili直播弹幕,使用WebSocket协议,支持web端和B站直播开放平台两种接口
https://github.com/xfgryujk/blivedm
bilibili bilibili-live danmaku
Last synced: 5 months ago
JSON representation
获取bilibili直播弹幕,使用WebSocket协议,支持web端和B站直播开放平台两种接口
- Host: GitHub
- URL: https://github.com/xfgryujk/blivedm
- Owner: xfgryujk
- License: mit
- Created: 2018-05-13T13:58:08.000Z (over 7 years ago)
- Default Branch: dev
- Last Pushed: 2025-04-03T11:48:59.000Z (6 months ago)
- Last Synced: 2025-04-13T10:54:17.470Z (6 months ago)
- Topics: bilibili, bilibili-live, danmaku
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 1,133
- Watchers: 23
- Forks: 235
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blivedm
Python获取bilibili直播弹幕的库,使用WebSocket协议,支持web端和B站直播开放平台两种接口
[协议解释](https://open-live.bilibili.com/document/657d8e34-f926-a133-16c0-300c1afc6e6b)
基于本库开发的一个应用:[blivechat](https://github.com/xfgryujk/blivechat)
## 使用说明
1. 需要Python 3.8及以上版本
2. 安装依赖```sh
pip install -r requirements.txt
```3. web端例程在[sample.py](./sample.py),B站直播开放平台例程在[open_live_sample.py](./open_live_sample.py)