https://github.com/acedroidx/danmakureplay
https://github.com/acedroidx/danmakureplay
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/acedroidx/danmakureplay
- Owner: AceDroidX
- License: apache-2.0
- Created: 2022-02-01T18:49:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-01T19:20:44.000Z (over 3 years ago)
- Last Synced: 2025-01-30T06:44:08.507Z (5 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DanmakuReplay
使用方法:
1. 将config.example.json重命名为config.json并修改里面的设置
2. 新建cookie.txt并填入您在B站的cookie信息(具体方法请自行搜索)
3. 安装依赖并运行
```
pip install -r requirements.txt
python main.py
```参数解释:
+ danmu_file_name:弹幕文件名,文件的数据结构参考danmu_file.example.json
+ danmu_start_time:开始发送的弹幕时间戳(单位毫秒),对应弹幕文件里的time值
+ danmu_color:弹幕颜色,16777215为白色,65532为活动中的青色
+ danmu_interval:发弹幕的最小CD,在CD时间内的弹幕将被跳过
+ roomid:直播间房间号