yt-dlp is a command-line tool that allows you to download
videos and audio from various online platforms, most
notably YouTube. It's a powerful fork of the original
youtube-dl, with additional features and numerous fixes.
This utility is invaluable for anyone looking to archive
content or access video and audio files offline. This guide
provides a comprehensive look at its different use cases,
each illustrated through examples.
1. Download and Install Homebrew from the Mac Terminal
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2. Install yt-dlp (using Homebrew) from the Mac Terminal
/opt/homebrew/bin/brew install yt-dlp
3. Using yt-dlp
Man page for yt-dlp
man yt-dlp
Download via the URL
cd ~/Downloads; /opt/homebrew/bin/yt-dlp -f mp4 "URL-of-video"; open .
/opt/homebrew/bin/yt-dlp -f mp4 "URL-of-video"
/opt/homebrew/bin/yt-dlp -f m4a "URL-of-video"
sam.wormley@icloud.com