X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=youtube_dl%2F__init__.py;h=0e9504c1485cdc4a6ba09968f1331615f0b8942f;hb=685052fc7b8e7c70fc524098e45f0c1052c5eaec;hp=c92463fd7644601e4c59d40ed5883d6a7ff921ff;hpb=dc3727b65cfa2e58b1f4877aed435dce4da552cd;p=youtube-dl diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index c92463fd7..0e9504c14 100644 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -49,6 +49,8 @@ __authors__ = ( 'David Triendl', 'Anthony Weems', 'David Wagner', + 'Juan C. Olivares', + 'Mattias Harrysson', ) __license__ = 'Public Domain' @@ -314,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', @@ -429,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',