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 ====...")
 
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 https://www.youtube.com/watch?list=PLQd1_1biJINYMmeCrTzEMKxH3UfInenve (cut the v=… crap and leave only the list-parameter)

Revision as of 22:43, 2 January 2017

Installation

(Install HomeBrew first)

brew update
brew update
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 https://www.youtube.com/watch?list=PLQd1_1biJINYMmeCrTzEMKxH3UfInenve (cut the v=… crap and leave only the list-parameter)