Do not specify any format as a last option for the -b flag
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>
Mon, 10 Aug 2009 20:10:40 +0000 (22:10 +0200)
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:24:48 +0000 (11:24 +0100)
youtube-dl

index 882b10391f1a21f58748326e2726cf6c13381a10..e3dafad690587997360da9c14893106c4605fba9 100755 (executable)
@@ -512,7 +512,7 @@ class YoutubeIE(InfoExtractor):
        _LOGIN_URL = 'http://www.youtube.com/signup?next=/&gl=US&hl=en'
        _AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en'
        _NETRC_MACHINE = 'youtube'
-       _available_formats = ['22', '35', '18', '5', '17', '13'] # listed in order of priority for -b flag
+       _available_formats = ['22', '35', '18', '5', '17', '13', None] # listed in order of priority for -b flag
        _video_extensions = {
                '13': '3gp',
                '17': 'mp4',