|
|
@ -131,17 +131,19 @@ which means you can modify it, redistribute it or use it however you like.
|
|
|
|
%(upload_date)s for the upload date
|
|
|
|
%(upload_date)s for the upload date
|
|
|
|
(YYYYMMDD), %(extractor)s for the provider
|
|
|
|
(YYYYMMDD), %(extractor)s for the provider
|
|
|
|
(youtube, metacafe, etc), %(id)s for the
|
|
|
|
(youtube, metacafe, etc), %(id)s for the
|
|
|
|
video id, %(playlist)s for the playlist the
|
|
|
|
video id, %(playlist_title)s,
|
|
|
|
|
|
|
|
%(playlist_id)s, or %(playlist)s (=title if
|
|
|
|
|
|
|
|
present, ID otherwise) for the playlist the
|
|
|
|
video is in, %(playlist_index)s for the
|
|
|
|
video is in, %(playlist_index)s for the
|
|
|
|
position in the playlist and %% for a
|
|
|
|
position in the playlist. %(height)s and
|
|
|
|
literal percent. %(height)s and %(width)s
|
|
|
|
%(width)s for the width and height of the
|
|
|
|
for the width and height of the video
|
|
|
|
video format. %(resolution)s for a textual
|
|
|
|
format. %(resolution)s for a textual
|
|
|
|
|
|
|
|
description of the resolution of the video
|
|
|
|
description of the resolution of the video
|
|
|
|
format. Use - to output to stdout. Can also
|
|
|
|
format. %% for a literal percent. Use - to
|
|
|
|
be used to download to a different
|
|
|
|
output to stdout. Can also be used to
|
|
|
|
directory, for example with -o '/my/downloa
|
|
|
|
download to a different directory, for
|
|
|
|
ds/%(uploader)s/%(title)s-%(id)s.%(ext)s' .
|
|
|
|
example with -o '/my/downloads/%(uploader)s
|
|
|
|
|
|
|
|
/%(title)s-%(id)s.%(ext)s' .
|
|
|
|
--autonumber-size NUMBER Specifies the number of digits in
|
|
|
|
--autonumber-size NUMBER Specifies the number of digits in
|
|
|
|
%(autonumber)s when it is present in output
|
|
|
|
%(autonumber)s when it is present in output
|
|
|
|
filename template or --auto-number option
|
|
|
|
filename template or --auto-number option
|
|
|
@ -239,8 +241,13 @@ which means you can modify it, redistribute it or use it however you like.
|
|
|
|
"worst", "worstvideo" and "worstaudio". By
|
|
|
|
"worst", "worstvideo" and "worstaudio". By
|
|
|
|
default, youtube-dl will pick the best
|
|
|
|
default, youtube-dl will pick the best
|
|
|
|
quality. Use commas to download multiple
|
|
|
|
quality. Use commas to download multiple
|
|
|
|
audio formats, such as -f
|
|
|
|
audio formats, such as -f
|
|
|
|
136/137/mp4/bestvideo,140/m4a/bestaudio
|
|
|
|
136/137/mp4/bestvideo,140/m4a/bestaudio.
|
|
|
|
|
|
|
|
You can merge the video and audio of two
|
|
|
|
|
|
|
|
formats into a single file using -f <video-
|
|
|
|
|
|
|
|
format>+<audio-format> (requires ffmpeg or
|
|
|
|
|
|
|
|
avconv), for example -f
|
|
|
|
|
|
|
|
bestvideo+bestaudio.
|
|
|
|
--all-formats download all available video formats
|
|
|
|
--all-formats download all available video formats
|
|
|
|
--prefer-free-formats prefer free video formats unless a specific
|
|
|
|
--prefer-free-formats prefer free video formats unless a specific
|
|
|
|
one is requested
|
|
|
|
one is requested
|
|
|
|