media-downloadlisted
Install: claude install-skill vargHQ/skills
# Media download
There are two scripts in `scripts/` next to this file. Each prints only the paths of the files it saved on stdout. Messages and errors go to stderr. Neither shows a progress bar, so the output stays short. Run long downloads with a generous timeout or in the background.
## Video and audio by link: `scripts/video.sh`
It uses yt-dlp from PATH, or downloads a standalone build into `~/.cache/video-download` the first time. It picks an mp4 (h264 + aac) that plays everywhere.
```bash
S=<this skill dir>/scripts/video.sh
bash $S "<url>" # best quality → ./downloads/<Site>/<title> [<id>].mp4
bash $S -q 720 "<url>" # cap at 720p (smaller side, so vertical videos stay 720×1280)
bash $S -a "<url>" # audio only → mp3
bash $S -p "<playlist or carousel>" # every item
bash $S -o ~/Downloads "<url1>" "<url2>"
bash $S -c chrome "<url>" # use the user's logged-in browser session (chrome|safari|firefox|edge|brave)
```
Metadata without downloading: `yt-dlp -J --no-playlist "<url>"`. Available qualities: `yt-dlp -F "<url>"`.
## Pinterest images: `scripts/pinterest.sh`
It uses gallery-dl. The input can be a search query or any Pinterest link: pin, board, profile, section or `pin.it`. By default it saves images only.
```bash
P=<this skill dir>/scripts/pinterest.sh
bash $P "cinematic portrait moody" # top 20 search results → ./downloads/pinterest/Search/<query>/
bash $P -n 50 "https://w