cli-scripts/scripts/getvid

9 lines
143 B
Plaintext
Raw Permalink Normal View History

2024-02-29 21:42:08 +00:00
#!/usr/bin/env zsh
export URL=$1
export RES=$2
yt-dlp -f 'bv*[height='"$RES"']+ba' "$URL" -o '%(id)s.%(ext)s'
#yt-dlp "$URL" --list-formats