blivedm/README.md
John Smith 8f6d770e18 兼容开放平台接口升级
* uid改成open_id
* 上舰消息添加价格字段
2024-03-11 21:08:15 +08:00

19 lines
554 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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)