x/v2/dm/web/seg.so 回的是 protobuf 二进制:build 声明响应类型为 arraybuffer,decode 用 parseDmSegMobileReply 解成 { elems }。因为 body 不是 JSON、没有 code 字段,这条的 judge 恒成功 —— 解不出来由管线归因为 parse / DECODE_FAILED。一段只覆盖 6 分钟,取全量得按 segment_index 逐段请求。curl --location 'http://localhost:4567/api/bilibili/fetch_danmaku?cid=undefined&segment_index=undefined'success 判别{
"success": true,
"data": {
"elems": [
{
"action": "string",
"animation": "string",
"attr": 0,
"color": 0,
"content": "string",
"ctime": "string",
"fontsize": 0,
"id": "string",
"idStr": "string",
"midHash": "string",
"mode": 0,
"pool": 0,
"progress": 0,
"weight": 0
}
]
},
"message": "获取成功",
"meta": {
"requestId": "string",
"clientId": "string",
"platform": "douyin",
"endpoint": "string",
"durationMs": 0,
"attempts": 0,
"trace": [
{
"url": "string",
"method": "string",
"status": 0,
"durationMs": 0,
"reason": "initial",
"retryOf": "string"
}
]
},
"requestPath": "/api/bilibili/fetch_one_video?bvid=BV1xx"
}