fix store archive audio only

This commit is contained in:
Dym Sohin 2023-10-15 06:20:02 +02:00
parent cd6ce2d4ff
commit d6f91887cd
1 changed files with 2 additions and 2 deletions

4
y.sh
View File

@ -130,7 +130,7 @@ case "$SITE" in
echo '> youtube' echo '> youtube'
if [[ "$URL" = *youtube\.com\/@* ]]; then if [[ "$URL" = *youtube\.com\/@* ]]; then
echo '> > store archive' echo '> > store archive'
YDL "$URL" -f 251 \ YDL "$URL" \
-o "$YT_PATH/%(uploader_id)s/%(title).100B [%(id)s].%(ext)s" -o "$YT_PATH/%(uploader_id)s/%(title).100B [%(id)s].%(ext)s"
else else
case "$OPT" in case "$OPT" in
@ -146,7 +146,7 @@ case "$SITE" in
;; ;;
's') 's')
echo '> > store archive' echo '> > store archive'
YDL "$URL" -f 251 \ YDL "$URL" \
-o "$YT_PATH/%(uploader_id)s/%(title).100B [%(id)s].%(ext)s" -o "$YT_PATH/%(uploader_id)s/%(title).100B [%(id)s].%(ext)s"
;; ;;
*) *)