summaryrefslogtreecommitdiff
path: root/songgrab
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2022-08-24 02:17:09 -0500
committerZachIR <zachir@librem.one>2022-08-24 02:17:09 -0500
commit70a1d51ef319ac54039350c0625e483a63ebdac8 (patch)
tree5d4d8630a4ad5d2ec916f0807d83b65c163ce52a /songgrab
parent794bb7296982776183c5819351aca94aee4231a2 (diff)
use yt-dlp in songgrab
Diffstat (limited to 'songgrab')
-rwxr-xr-xsonggrab2
1 files changed, 1 insertions, 1 deletions
diff --git a/songgrab b/songgrab
index 914a56b..be37fdd 100755
--- a/songgrab
+++ b/songgrab
@@ -71,7 +71,7 @@ if [ "$SPLITTER_SELECTION" = "s" ]; then
fi
# download the video(s)
-ls | grep -q "$(echo $URL | cut -d'=' -f2 | cut -d'&' -f1)" && echo "Already downloaded" || youtube-dl $SPLITTER_FLAGS --format bestaudio --restrict-filenames "$URL"
+ls | grep -q "$(echo $URL | cut -d'=' -f2 | cut -d'&' -f1)" && echo "Already downloaded" || yt-dlp $SPLITTER_FLAGS --format bestaudio --restrict-filenames "$URL"
# while loop to remove files from list
while true; do