Install
openclaw skills install dlDownload Video/Music from YouTube/Bilibili/X/etc.
openclaw skills install dlSmartly download media (Video/Music) from URLs (YouTube, Bilibili, X, etc.) to the appropriate local folders.
~/Movies/ or ~/Videos/.~/Music/.~/Music/<playlist_name>/).Designed to work with a local Media Server (e.g., Universal Media Server, Jellyfin) for instant playback on TV/devices.
When the user provides a URL or asks to download media, you MUST follow this exact sequence:
Acknowledge:
Execute:
uv run --script ${baseDir}/dl.py "<url>"
Capture Path:
Upload (Telegram Only):
message tool to send the file to the user:
{
"action": "send",
"filePath": "<filepath>",
"caption": "Here is your music."
}
Run dl.py as a uv script:
# save into default dirs ~/Music or ~/Movies or ~/Videos
uv run --script ${baseDir}/dl.py <url>
# specify your own output dir
uv run --script ${baseDir}/dl.py <url> -o <out_dir>
The script will print output path, either a file or a folder.
A optional cookies file could be provided to make yt-dlp more reliable, with which ever of these detected first:
${baseDir}/.cookies.txt$DL_COOKIES_FILE$COOKIES_FILE~/.cookies.txtThis skill will be much more useful if you setup a media server on same machine to share the downloaded media in your LAN:
~/Music and ~/Movies (or ~/Videos) folders.See example script to setup Universal Media Server on Mac.