youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit daa88ccc2e6ac9c184baa62ec411eb13180a00f8
parent eb5d184157af39ff65b6103ccea73749cb2e24c1
Author: Ricardo Garcia <sarbalap+freshmeat@gmail.com>
Date:   Tue, 26 May 2009 21:26:09 +0200

Fix TypeError when using the -f option (fixes issue #24)

Diffstat:
Myoutube-dl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/youtube-dl b/youtube-dl @@ -1053,7 +1053,7 @@ if __name__ == '__main__': video_format = optparse.OptionGroup(parser, 'Video Format Options') video_format.add_option('-f', '--format', - action='append', dest='format', metavar='FMT', help='video format code') + action='store', dest='format', metavar='FMT', help='video format code') video_format.add_option('-b', '--best-quality', action='store_const', dest='format', help='download the best quality video possible', const='0') video_format.add_option('-m', '--mobile-version',