youtube-transcript-cn

Extract YouTube video transcripts and translate them into Chinese text.

1|Updated May 12, 2026
One-click install
npx skills add https://github.com/cocyuhao/my-ai-skills-library --skill youtube-transcript-cn-cocyuhao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-transcript-cn
Source: https://github.com/cocyuhao/my-ai-skills-library/tree/main/youtube-transcript-cn
Command: npx skills add https://github.com/cocyuhao/my-ai-skills-library --skill youtube-transcript-cn-cocyuhao

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

从 YouTube 视频提取字幕并将其转换为中文文字稿,简化内容创建、笔记整理和信息检索的流程。

Core Features & Use Cases

  • 自动提取 YouTube 字幕(包括手动字幕与自动字幕),并输出可编辑的中文文本。
  • 当字幕为英文时自动翻译为中文,保持原文结构和段落划分。
  • 使用场景包括:将视频内容转写成文本、生成学习笔记、整理资料摘要等。

Quick Start

给定一个 YouTube 链接,系统将自动提取字幕并输出中文文字稿。

Frequently Asked Questions about youtube-transcript-cn

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

FAQPage Schema
Can I get Chinese transcripts from YouTube videos that only have auto-generated English subtitles?

Yes, Chinese transcripts can be generated from auto-generated English subtitles. The tool detects English subtitles and automatically translates them into Chinese while maintaining the original text structure.

What YouTube URL formats are supported for subtitle extraction?

The subtitle extraction tool supports multiple YouTube URL formats, allowing you to directly input standard video links to retrieve manual and auto-generated transcripts.

Do I need to install any dependencies to extract YouTube video transcripts?

Yes, you need the youtube-transcript-api dependency installed to extract YouTube video transcripts. This library handles fetching manual and auto-generated subtitles for Chinese translation and export.

Why does my YouTube transcript output show English text instead of Chinese?

Your YouTube transcript output might show English instead of Chinese if the translation logic encounters unsupported subtitle languages. The tool prioritizes existing Chinese subtitles and translates English ones, but does not handle other foreign languages.