Skip to main content

yt-dlp

Download YouTube videos, audio, and subtitles/transcripts using yt-dlp.

ソース情報

リポジトリ
ykdojo/safeclaw
ソースの最終更新活動
2026年2月9日 02:11
検出された SKILL.md の言語
英語
スター
184
フォーク
20

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
yt-dlp
description
Download YouTube videos, audio, and subtitles/transcripts using yt-dlp.
# yt-dlp Download YouTube videos, audio, and subtitles/transcripts. ## Setup Check if yt-dlp is installed, and download it if not: ```bash if ! command -v yt-dlp &>/dev/null && [ ! -f ~/yt-dlp ]; then curl -sL https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/yt-dlp && chmod +x ~/yt-dlp fi ``` Then use `~/yt-dlp` (or just `yt-dlp` if installed globally). ## Examples Download subtitles/transcript: ```bash ~/yt-dlp --write-auto-sub --sub-lang en --skip-download -o "/tmp/%(id)s" <url> ``` Download audio only: ```bash ~/yt-dlp -x --audio-format mp3 -o "/tmp/%(title)s.%(ext)s" <url> ``` Download video: ```bash ~/yt-dlp -o "/tmp/%(title)s.%(ext)s" <url> ``` Get video info (title, duration, description): ```bash ~/yt-dlp --print title --print duration_string --print description --no-download <url> ``` ## Notes - Subtitles are saved as `.vtt` files - read them to get the transcript - Use `/tmp/` for downloads to avoid cluttering the working directory
GitHubで見る