deep_read
Aggregates Bilibili video transcripts, comments, danmaku, and cover in one call, reducing round trips and returning unified degradation signals.
Instructions
一次调用聚合多条通道:字幕 + 评论 + 弹幕 + 封面(可选抽帧)。
为什么要有它
本项目有 5 条取数通道,但每条要单独一次调用:Agent 要自己编排、 每次都要重新拼参数、而且每条通道都要先拉一次视频元数据。 DSH 那边的实现把多路整合成"一次看懂"(字幕/弹幕/热评/封面/抽帧)。 本工具是同构的等价物:少几轮往返,且一次拿到各通道的统一降级信号。
channels(默认 ["transcript","comments","danmaku","cover"]):
transcript 字幕(受 transcript_query / transcript_head_ratio / transcript_max_chars 控制)
comments 评论(受 comment_n / comment_detail 控制)
danmaku 弹幕(密度与披露线索)
cover 封面 URL(批次 C3 放回来的 pic,成本最低的一路)
frames 抽帧(只在给了 frames_at 时才做;需要 ffmpeg)
返回:{bvid, title, channels: {...}, degraded: [...], ok, cost}
每条通道的完整载荷在 channels.<name> 里,与单通道工具同构——
所以 deep_read 的结果可以直接当单通道结果用,不会出现"两套结构"。
⚠️ 成本:一次调用可能打多次上游(cost.calls 会告诉你实际打了几次)。
字幕仍是最大头——强烈建议给 transcript_query 或 transcript_head_ratio。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bvid | Yes | ||
| page | No | ||
| quality | No | ||
| channels | No | ||
| comment_n | No | ||
| frames_at | No | ||
| comment_detail | No | opinion | |
| transcript_query | No | ||
| transcript_max_chars | No | ||
| transcript_head_ratio | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |