From d459b0d44ff0af51d5bd70a9309c4292b304792a Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Tue, 20 Feb 2024 14:45:44 +0530 Subject: using dl in audio_dl.sh --- .scripts/audio_dl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.scripts') diff --git a/.scripts/audio_dl.sh b/.scripts/audio_dl.sh index e13aebf..d757a95 100755 --- a/.scripts/audio_dl.sh +++ b/.scripts/audio_dl.sh @@ -5,7 +5,7 @@ LINES=$(cat $FILE) counter=1 for line in $LINES; do - yt-dlp -x --audio-format opus "https://www.youtube.com/watch?v=$line" || echo "$line" >> "$FILE""_failed" + dl "https://www.youtube.com/watch?v=$line" || echo "$line" >> "$FILE""_failed" counter=$((counter+1)) tail -n "+$counter" "$FILE" > "$FILE""_remaining" done -- cgit v1.2.3