Youtube-dl Usage: Difference between revisions

From Wurst-Wasser.net
Jump to navigation Jump to search
(Created page with "=== Installation === (Install HomeBrew first) brew update brew update brew install youtube-dl brew install ffmpeg libav === Usage === ==== List available formats ====...")
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
(Install [[HomeBrew]] first)
(Install [[HomeBrew]] first)
  brew update
  brew update
  brew update
  brew upgrade
  brew install youtube-dl
  brew install youtube-dl
  brew install ffmpeg libav
  brew install ffmpeg libav
Line 11: Line 11:


==== Download a video ====
==== Download a video ====
  youtube-dl -f 18 https://www.youtube.com/watch?v=some-cryptic-id-here (cut the v=… crap and leave only the list-parameter)
  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 ====
==== 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)