MY

mapleshaw/yt-dlp-downloader-skill

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

219 stars 质量 48 趋势 1

mapleshaw/yt-dlp-downloader-skill 是从 https://github.com/mapleshaw/yt-dlp-downloader-skill. 导入的代理技能候选

概览

mapleshaw/yt-dlp-downloader-skill 是从 https://github.com/mapleshaw/yt-dlp-downloader-skill. 导入的代理技能候选

概述(AI 翻译)

光标代理技能,用于使用YouTube、Bilibili、Twitter及数千个使用yt-dlp下载视频。

中文文档

特色

  • 从1000+网站下载视频
  • 提取音频(MP3)
  • 下载字幕
  • 选择视频质量(720p/1080p/最佳)
  • 使用浏览器 Cookie 自动处理 YouTube 403 错误
  • 恢复中断下载

先修条件

在使用该技能之前,请确保你已安装以下内容:

安装

选项1:克隆到光标技能目录

选项2:手动安装

  1. 创建技能目录:

  2. 从本仓库下载SKILL.md和scripts/download.sh

  3. 将它们置于已创建的目录中

用途

只需告诉Cursor你想下载什么:

命令 示例
下载视频 “下载此视频 https://youtube.com/watch?v=xxx"
提取音频 “从https://youtube.com/watch?v=xxx"提取音频
带字幕下载 “带字幕下载 https://youtube.com/watch?v=xxx"
特定质量 “下载720p https://youtube.com/watch?v=xxx"

对话示例

你: 下载这个视频 https://www.youtube.com/watch?v=xxx

光标:

本页由 AI 翻译,技术细节请以原文为准。

README

yt-dlp Downloader Skill

A Cursor Agent Skill for downloading videos from YouTube, Bilibili, Twitter, and thousands of other sites using yt-dlp.

中文文档

Features

  • Download videos from 1000+ websites
  • Extract audio (MP3)
  • Download subtitles
  • Select video quality (720p/1080p/best)
  • Auto-handle YouTube 403 errors with browser cookies
  • Resume interrupted downloads

Prerequisites

Before using this skill, make sure you have the following installed:

# Install yt-dlp
pip install yt-dlp

# Install ffmpeg (required for audio extraction)
brew install ffmpeg  # macOS
# or: sudo apt install ffmpeg  # Linux

Installation

Option 1: Clone to Cursor skills directory

git clone https://github.com/MapleShaw/yt-dlp-downloader-skill.git ~/.cursor/skills/yt-dlp-downloader

Option 2: Manual installation

  1. Create the skill directory:

    mkdir -p ~/.cursor/skills/yt-dlp-downloader/scripts
    
  2. Download SKILL.md and scripts/download.sh from this repository

  3. Place them in the created directory

Usage

Simply tell Cursor what you want to download:

Command Example
Download video “Download this video https://youtube.com/watch?v=xxx”
Extract audio “Extract audio from https://youtube.com/watch?v=xxx”
Download with subtitles “Download with subtitles https://youtube.com/watch?v=xxx”
Specific quality “Download in 720p https://youtube.com/watch?v=xxx”

Example Conversations

You: Download this video https://www.youtube.com/watch?v=xxx

Cursor:

yt-dlp -P "~/Downloads/yt-dlp" --cookies-from-browser chrome "https://www.youtube.com/watch?v=xxx"

Supported Sites

yt-dlp supports thousands of sites including:

  • YouTube / YouTube Music
  • Bilibili (B站)
  • Twitter / X
  • TikTok / Douyin (抖音)
  • Vimeo
  • Twitch
  • And many more…

Troubleshooting

Error Solution
HTTP 403 Forbidden (YouTube) Use --cookies-from-browser chrome
yt-dlp not found Run pip install yt-dlp
ffmpeg not found Run brew install ffmpeg
Download fails Run pip install -U yt-dlp to update

File Structure

yt-dlp-downloader/
├── SKILL.md              # Main skill instructions
└── scripts/
    └── download.sh       # Helper script

License

MIT

Credits

  • yt-dlp - The powerful video downloader
  • Cursor - AI-powered code editor
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add mapleshaw/yt-dlp-downloader-skill
新手?先看 mcpskill.org 教程 →