cli-scripts/scripts/getvid
2024-02-29 21:42:08 +00:00

9 lines
143 B
Bash
Executable File

#!/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