Install
openclaw skills install @clawbus/clawbus-youtube-downloadDownload YouTube videos, playlists, audio, thumbnails, metadata, and subtitles with yt-dlp. Use when you need to fetch media from YouTube URLs, choose video/audio quality or formats, save files locally, pass cookies for private or age-restricted videos, resume downloads, or ensure yt-dlp is installed and updated before downloading.
openclaw skills install @clawbus/clawbus-youtube-downloadUse yt-dlp for all YouTube downloads on Linux, macOS, and Windows. Before downloading, ensure yt-dlp exists and update it to the newest available version when possible.
Prefer the bundled helper. Resolve <skill-dir> to this skill folder and use the available Python command for the current platform:
python3 youtube-download/scripts/youtube_download.py "https://www.youtube.com/watch?v=VIDEO_ID"
Use python3 on most Linux/macOS systems. Use py -3 or python on Windows when that is the configured Python launcher.
The helper checks for yt-dlp, installs it with <python> -m pip install --user -U yt-dlp if missing, tries yt-dlp -U, falls back to pip upgrade when self-update is unavailable, then runs the download. If a pip-installed executable is not on PATH, the helper searches common per-user script directories and falls back to python -m yt_dlp.
youtube-downloads/ in the current working directory unless the user specifies another path.yt-dlp options after --.Download best video and audio:
python3 youtube-download/scripts/youtube_download.py "URL"
Download a playlist:
python3 youtube-download/scripts/youtube_download.py "PLAYLIST_URL" --playlist
Extract MP3 audio:
python3 youtube-download/scripts/youtube_download.py "URL" --audio --audio-format mp3
Save subtitles and thumbnail:
python3 youtube-download/scripts/youtube_download.py "URL" --subtitles --thumbnail
Use browser cookies for private, member-only, age-restricted, or region-sensitive videos:
python3 youtube-download/scripts/youtube_download.py "URL" --cookies-from-browser chrome
Pass extra yt-dlp flags:
python3 youtube-download/scripts/youtube_download.py "URL" -- --write-info-json --write-comments
yt-dlp -U can automatically update official standalone builds. Some package-managed installs disable self-update; use pip upgrade as the fallback.yt-dlp, yt-dlp.exe, or yt-dlp.cmd, then checks user install paths such as Python Scripts on Windows and user bin directories on Linux/macOS.--cookies-from-browser or --cookies FILE instead of asking the user for credentials.