youtube-transcript-cn

Extract YouTube video transcripts and convert them into Chinese text.

2|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill youtube-transcript-cn-augustscl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcript-cn
Source: https://github.com/augustscl/awesome-xiawang-skills/tree/main/youtube-transcript-cn
Command: npx skills add https://github.com/augustscl/awesome-xiawang-skills --skill youtube-transcript-cn-augustscl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires youtube-transcript-api, and includes scripts (resource) components.

What problem does it solve?

提取 YouTube 视频中的字幕并将其转换为可读的中文文字稿,解决观看视频无法快速获取文字内容或做笔记的痛点,适合需要快速整理视频信息、做内容摘要或生成字幕文稿的场景。

Core Features & Use Cases

  • 多格式 URL 支持:接受完整链接、短链接、嵌入链接或直接 Video ID。
  • 语言优先与回退:按优先级查找简体/繁体中文、中文、英文以及自动生成字幕并回退到可用字幕。
  • 输出与导出:支持 Markdown、纯文本和 JSON 输出,能包含或省略时间戳,便于后处理和保存为文件。
  • 使用场景:记者或内容创作者将讲座/访谈视频转为中文文字稿,或将英文自动字幕翻译为流畅中文以便阅读与归档。

Quick Start

Extract a Chinese transcript from a YouTube link by running the provided transcript script with the video URL.

Frequently Asked Questions about youtube-transcript-cn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract Chinese transcripts from a YouTube video?

To extract Chinese transcripts from a YouTube video, provide a public video URL or Video ID. The tool fetches available captions, prioritizing Chinese language codes, and optionally translates English captions into fluent Chinese.

Can I get subtitles for YouTube videos that only have auto-generated English captions?

Yes, you can get subtitles for videos with auto-generated English captions. The tool retrieves auto-generated captions and translates the English text into readable Chinese for your downstream use.

What YouTube URL formats are supported for extracting subtitles?

Extracting subtitles supports various YouTube URL formats, including full links, short links, embedded links, and direct Video IDs. This allows flexible input for fetching video transcripts.

What output formats are available for YouTube caption extraction?

YouTube caption extraction supports Markdown, plain text, and JSON output formats. You can include or omit timestamps in the extracted text to facilitate post-processing and file archiving.

Does the YouTube transcript tool work with private videos?

No, the YouTube transcript tool only applies to public YouTube links and video IDs. It cannot fetch captions or subtitles from private or restricted-access videos.