This script allows you to quickly use yt-dlp
on macos to download videos and audio from YouTube and other supported platforms.
- macOS with homebrew
yt-dlp
ffmpeg
fprobe
brew install yt-dlp
brew install ffmpeg
brew install fprobe
to use the script replace URL in the command with a youtube url
sh download.sh URL
sh download.sh URL mp3
sh download.sh URL m4a