[分享创造] YouTube Transcript Export:把单个视频的字幕导出成 TXT / Markdown / SRT / VTT
这是我在做的浏览器扩展:把单个 YouTube 视频的字幕/文稿导出成 TXT、Markdown、SRT 或 VTT 四种格式。扩展目前在 Edge 审核中,暂不可安装,先分享实测结果。 实测(视频 dQw4w9WgXcQ):从字幕面板取到 24 条、2,066 字符;四种格式文件分别为 TXT 2,335 / MD 2,668 / SRT 3,142 / VTT 3,162 字节。测试 120 项全过。 一个实测发现:YouTube 字幕面板的 DOM 已变,旧的 ytd-transcript-segment-renderer 选择器返回 0 行,现在渲染的是 <transcript-segment-view-model>(时间戳 .ytwTranscriptSegmentViewModelTimestamp、正文 span[role="text"])。扩展先试新选择器,再回退旧的。 两点诚实说明: timedtext 接口从数据中心 IP 拉取会返回空体(真实浏览器内同样测到),住宅 IP 的真实用户预期可用;面板路径只给当前已渲染的行(首屏 24 条,非全量)。 Pr
Read original sourceSource record
Research analysis
What changed
Source account: 这是我在做的浏览器扩展:把单个 YouTube 视频的字幕/文稿导出成 TXT、Markdown、SRT 或 VTT 四种格式。扩展目前在 Edge 审核中,暂不可安装,先分享实测结果。 实测(视频 dQw4w9WgXcQ):从字幕面板取到 24 条、2,066 字符;四种格式文件分别为 TXT 2,335 / MD 2,668 / SRT 3,142 / VTT 3,162 字节。测试 120 项全过。 一个实测发现:YouTube 字幕面板的 DOM 已变,旧的 ytd-transcript-segment-renderer 选择器返回 0 行,现在渲染的是 <transcript-segment-view-model>(时间戳 .ytwTranscriptSegmentViewModelTimestamp、正文 span[role="text"])。扩展先试新选择器,再回退旧的。 两点诚实说明: timedtext 接口从数据中心 IP 拉取会返回空体(真实浏览器内同样测到),住宅 IP 的真实用户预期可用;面板路径只给当前已渲染的行(首屏 24 条,非全量)。 Pr
Version & cost evidence
Recent records to compare: “Bragly” (Uneed, Nov 17, 2026); “Show HN: Your Spreadsheet Is Your Database” (Show HN, Nov 17, 2026). Shared themes are navigation hints; they have not been verified as the same need or independent corroboration.
Who is affected
Identify the existing workflow this change affects before recommending an upgrade. Launch attention does not establish improvement; an API, pricing or availability change may instead create migration work.
Missing comparison points
Missing checks: old versus new behavior, affected plans and regions, availability date, compatibility, rollback path and cost under the same workload.
Migration check
Save the release or policy notice, run the same task on the old and new option, and compare outputs and the full bill. For retirement notices, verify the deadline before scheduling migration.