From 9d9916251eef3223cffd69998ad5e90ef07f2ff3 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Tue, 27 Aug 2013 23:36:43 +0200 Subject: [PATCH] Added youtube-dl cheatsheet --- cheatsheets/youtube-dl | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 cheatsheets/youtube-dl diff --git a/cheatsheets/youtube-dl b/cheatsheets/youtube-dl new file mode 100644 index 0000000..2ff3536 --- /dev/null +++ b/cheatsheets/youtube-dl @@ -0,0 +1,20 @@ +# To download a video in 720p MP4: +youtube-dl -f 22 example.com/watch?v=id + +# To download a video in 720p MP4 or WebM or FLV: +youtube-dl -f 22/45/120 + +# To list all available formats of a video: +youtube-dl -F example.com/watch?v=id + +# To download a video to /$uploader/$date/$title.$ext: +youtube-dl -o '%(uploader)s/%(date)s/%(title)s.%(ext)s' example.com/watch?v=id + +# To download a video playlist starting from a certain video: +youtube-dl --playlist-start 5 example.com/watch?v=id&list=listid + +# To simulate a download with youtube-dl: +youtube-dl -s example.com/watch?v=id + +# For all video formats see +# http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs