summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>2009-08-10 22:10:40 +0200
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-10-31 11:24:48 +0100
commitfade05990c9e4edbf07c91a6723a0e302e82114d (patch)
treeb0dee9cfb1d0463f3d463b800a762b35223d3b77
parente5b160488246af215f49039ff580b712d75282e8 (diff)
downloadyoutube-dl-fade05990c9e4edbf07c91a6723a0e302e82114d.tar.gz
youtube-dl-fade05990c9e4edbf07c91a6723a0e302e82114d.tar.xz
youtube-dl-fade05990c9e4edbf07c91a6723a0e302e82114d.zip
Do not specify any format as a last option for the -b flag
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 882b10391..e3dafad69 100755
--- a/youtube-dl
+++ b/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',