aboutsummaryrefslogtreecommitdiff
path: root/.scripts/audio_dl.sh
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-11-06 00:44:47 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-11-06 00:44:47 +0530
commit4ca410cb89d44b85bf0ac5413915e35ff460e4d2 (patch)
tree0daa79794ac6175cf47ebab19d483471315b5cd8 /.scripts/audio_dl.sh
parent7f286b2a73f05f43f2d42b7f5be2cb7e43fd4118 (diff)
added betterlockscreen
Diffstat (limited to '.scripts/audio_dl.sh')
-rwxr-xr-x.scripts/audio_dl.sh2
1 files changed, 1 insertions, 1 deletions
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