获取bilibili直播弹幕,使用websocket协议
Go to file
dependabot[bot] e9075de6e6 Bump aiohttp from 3.8.5 to 3.8.6
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.5 to 3.8.6.
- [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.8.5...v3.8.6)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-15 09:38:09 +08:00
blivedm 更新开放平台点赞消息模型 2023-11-02 22:12:07 +08:00
.gitattributes Initial commit 2018-05-13 21:57:36 +08:00
.gitignore Initial commit 2018-05-13 21:57:36 +08:00
LICENSE Initial commit 2018-05-13 21:57:36 +08:00
open_live_sample.py 更新开放平台模型礼物价格的注释 2023-09-18 20:00:33 +08:00
README.md 添加开放平台消息模型 2023-09-03 16:53:08 +08:00
requirements.txt Bump aiohttp from 3.8.5 to 3.8.6 2023-11-15 09:38:09 +08:00
sample.py 移除了一堆没用的特性 2023-09-03 18:09:48 +08:00

blivedm

Python获取bilibili直播弹幕的库使用WebSocket协议支持web端和B站直播开放平台两种接口

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

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

使用说明

  1. 需要Python 3.8及以上版本

  2. 安装依赖

    pip install -r requirements.txt
    
  3. 例程看sample.pyopen_live_sample.py