X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2F__init__.py;h=0e9504c1485cdc4a6ba09968f1331615f0b8942f;hb=685052fc7b8e7c70fc524098e45f0c1052c5eaec;hp=72311f283c6123fe2271f6e487f226acdac0f070;hpb=2fcec131f5318f888647cddeb6e3ec118129241b;p=youtube-dl diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 72311f283..0e9504c14 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -50,6 +50,7 @@ __authors__ = ( 'Anthony Weems', 'David Wagner', 'Juan C. Olivares', + 'Mattias Harrysson', ) __license__ = 'Public Domain' @@ -315,7 +316,7 @@ def parseOpts(overrideArguments=None): video_format.add_option('-f', '--format', action='store', dest='format', metavar='FORMAT', default=None, - help='video format code, specify the order of preference using slashes: "-f 22/17/18". "-f mp4" and "-f flv" are also supported. You can also use the special names "best", "bestaudio", "worst", and "worstaudio". By default, youtube-dl will pick the best quality.') + help='video format code, specify the order of preference using slashes: "-f 22/17/18". "-f mp4" and "-f flv" are also supported. You can also use the special names "best", "bestvideo", "bestaudio", "worst", "worstvideo" and "worstaudio". By default, youtube-dl will pick the best quality.') video_format.add_option('--all-formats', action='store_const', dest='format', help='download all available video formats', const='all') video_format.add_option('--prefer-free-formats', @@ -430,6 +431,8 @@ def parseOpts(overrideArguments=None): '%(extractor)s for the provider (youtube, metacafe, etc), ' '%(id)s for the video id, %(playlist)s for the playlist the video is in, ' '%(playlist_index)s for the position in the playlist and %% for a literal percent. ' + '%(height)s and %(width)s for the width and height of the video format. ' + '%(resolution)s for a textual description of the resolution of the video format. ' 'Use - to output to stdout. Can also be used to download to a different directory, ' 'for example with -o \'/my/downloads/%(uploader)s/%(title)s-%(id)s.%(ext)s\' .')) filesystem.add_option('--autonumber-size',