Claude Skill
MapleShaw/yt-dlp-downloader-skill
一个为 Cursor Agent 添加 yt-dlp 视频下载功能的 Claude Skill。通过命令行集成直接下载视频。
概览
仓库信息
安装这个 Skill
pip install yt-dlpRegistry 信息
pip install yt-dlpgit clone https://github.com/MapleShaw/yt-dlp-downloader-skill.git ~/.cursor/skills/yt-dlp-downloader
项目简介
一个 Claude Skill,通过 yt-dlp 命令行工具实现视频下载功能,专为与 Cursor Agent 集成而设计。
Cursor Agent Skill for downloading videos using yt-dlp
要点
- 集成 yt-dlp 用于视频下载
- 设计为 Cursor Agent Skill
- 提供命令行工具功能
使用场景
- 通过命令行下载视频
- 扩展 Cursor Agent 功能
- 自动化视频下载任务
README 摘要
# yt-dlp Downloader Skill A [Cursor](https://cursor.sh) Agent Skill for downloading videos from YouTube, Bilibili, Twitter, and thousands of other sites using [yt-dlp](https://github.com/yt-dlp/yt-dlp). [中文文档](./README_CN.md) ## 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: ```bash # 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 ```bash 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: ```bash 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:** ```bash yt-dlp -P "~/Downloads/yt-dlp" --cookies-from-browser chrome "https://www.youtube.com/watch?v=xxx" ``` ## Supported Sites yt-dlp support
话题
暂无话题