Youtube-dl Usage

From Wurst-Wasser.net
Jump to: navigation, search

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)