Browse Source

Do not specify any format as a last option for the -b flag

Ricardo Garcia 16 years ago
parent
commit
fade05990c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube-dl

+ 1 - 1
youtube-dl

@@ -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',