aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2024-02-20 14:45:44 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2024-02-20 14:45:44 +0530
commitd459b0d44ff0af51d5bd70a9309c4292b304792a (patch)
treecb1261597ec04bb2af30ab6688c69437e7555568
parent1437bc05b6f81e1f8e35d5800f34ab7f91a090cd (diff)
using dl in 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 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