diff --git a/shell/funcs b/shell/funcs index 732ed6c..012f3d7 100644 --- a/shell/funcs +++ b/shell/funcs @@ -29,12 +29,12 @@ gicp() { # Create mp3 file from youtube video. _ymp3() { - youtube-dl --extract-audio --audio-format mp3 $1 + yt-dlp --extract-audio --audio-format mp3 $1 } # Only download mp4 files _onlymp4() { - youtube-dl -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' $1 + yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best" $1 } # Retrieve new updates to my key.