From 67f333ffb0863aba7676e9568f96a104e54c7610 Mon Sep 17 00:00:00 2001 From: heck Date: Wed, 4 Sep 2024 11:43:55 +0200 Subject: [PATCH] add youtube audio downloader "heck_yt_audio" --- bash_profile.d/00_base.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bash_profile.d/00_base.sh b/bash_profile.d/00_base.sh index c1ddbfb..574cc82 100644 --- a/bash_profile.d/00_base.sh +++ b/bash_profile.d/00_base.sh @@ -28,6 +28,9 @@ function heck_clion { /Applications/CLion.app/Contents/MacOS . >/dev/null 2>&1 & } +function heck_yt_audio { + yt-dlp -x --audio-format mp3 $1 +} #The USER scripts (my scripts) :) export PATH=$PATH:"$HOME/HeckBashSetup/scripts"