9 lines
143 B
Bash
Executable File
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
|
|
|