Youtube-dl Usage: Difference between revisions
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
brew upgrade | brew upgrade | ||
brew install youtube-dl | brew install youtube-dl | ||
brew install ffmpeg libav | brew install [[ffmpeg]] libav | ||
=== Usage === | === Usage === |
Latest revision as of 17:04, 19 May 2024
Installation
(Install HomeBrew first)
brew update brew upgrade brew install youtube-dl brew install ffmpeg libav
Usage
List available formats
youtube-dl --list-formats https://www.youtube.com/watch?v=some-cryptic-id-here
Download a video
youtube-dl -f 18 https://www.youtube.com/watch?v=some-cryptic-id-here (cut everything after the "&" (including the "&") and leave only the v-parameter)
Download a list of videos
youtube-dl -f 18 -i https://www.youtube.com/watch?list=PLQd1_1biJINYMmeCrTzEMKxH3UfInenve (cut the v=… crap and leave only the list-parameter)