9 lines
143 B
Plaintext
9 lines
143 B
Plaintext
|
#!/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
|
||
|
|