Youtube-dl Usage: Difference between revisions
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
==== Download a list of videos ==== | ==== Download a list of videos ==== | ||
youtube-dl -f 18 https://www.youtube.com/watch?list=PLQd1_1biJINYMmeCrTzEMKxH3UfInenve (cut the v=… crap and leave only the list-parameter) | youtube-dl -f 18 -i https://www.youtube.com/watch?list=PLQd1_1biJINYMmeCrTzEMKxH3UfInenve (cut the v=… crap and leave only the list-parameter) |
Latest revision as of 18:16, 11 November 2017
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)