From 4ca410cb89d44b85bf0ac5413915e35ff460e4d2 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 6 Nov 2023 00:44:47 +0530 Subject: added betterlockscreen --- .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 8e6c9eb..e13aebf 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 - youtube-dl -x --audio-format mp3 "https://www.youtube.com/watch?v=$line" || echo "$line" >> "$FILE""_failed" + yt-dlp -x --audio-format opus "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