✨ 新功能: - 创建bilibili_audio_downloader_pro.py (Pro版) - 全新架构重构 - 添加config.json配置文件支持 - 新增INSTALL.md详细安装指南 - 新增VERSION_COMPARISON.md版本对比说明 🐛 Bug修复 (v14.0): - 修复中文编码显示问题 - 修复ffmpeg进度条计算不准确 - 改进yt-dlp下载进度解析 - 添加重试机制和超时设置 - 完善错误处理和日志记录 🏗️ Pro版优势: - 面向对象架构设计,代码更清晰 - 自定义异常类和智能错误恢复 - 准确的进度条显示算法 - 完整的日志系统 - 灵活的配置管理 - 更好的用户体验 📚 文档更新: - 更新README.md,添加版本对比指引 - 更新requirements.txt依赖列表 - 完善项目文档结构
26 lines
886 B
Protocol Buffer
26 lines
886 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package bilibili.community.service.dm.v1;
|
|
|
|
// 弹幕数据包
|
|
message DmSegMobileReply {
|
|
repeated DanmakuElem elems = 1;
|
|
}
|
|
|
|
// 弹幕条目
|
|
message DanmakuElem {
|
|
int64 id = 1; // 弹幕dmid
|
|
int32 progress = 2; // 弹幕出现时间(毫秒)
|
|
int32 mode = 3; // 弹幕类型
|
|
int32 fontsize = 4; // 字号
|
|
uint32 color = 5; // 颜色
|
|
string midHash = 6; // 发送者hash
|
|
string content = 7; // 弹幕内容
|
|
int64 ctime = 8; // 发送时间
|
|
int32 weight = 9; // 权重
|
|
string action = 10; // 动作
|
|
int32 pool = 11; // 弹幕池
|
|
string idStr = 12; // 弹幕dmid字符串
|
|
int32 attr = 13; // 属性
|
|
string animation = 14; // 动画
|
|
} |