From 4ea0a0520125ccd5a0002fad23968416f8add92d Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 12 Oct 2024 13:58:26 +0530 Subject: using yt-dlp instead of dl --- .scripts/audio_dl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.scripts/audio_dl.sh') diff --git a/.scripts/audio_dl.sh b/.scripts/audio_dl.sh index d757a95..bb41db6 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 - dl "https://www.youtube.com/watch?v=$line" || echo "$line" >> "$FILE""_failed" + yt-dlp -x --audio-format mp3 "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