summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-07-13 18:01:58 +0200
committerRicardo Garcia <sarbalap+freshmeat@gmail.com>2010-10-31 11:28:17 +0100
commitc833bb97dc48319f51d95cdb6bf4d78c35c35fdf (patch)
tree0ed7562e9db55c1339ccea8945e800827c4dc648
parent7e2dd306fecee8bc7538f194b470f8e384a3a71a (diff)
downloadyoutube-dl-c833bb97dc48319f51d95cdb6bf4d78c35c35fdf.tar.gz
youtube-dl-c833bb97dc48319f51d95cdb6bf4d78c35c35fdf.tar.xz
youtube-dl-c833bb97dc48319f51d95cdb6bf4d78c35c35fdf.zip
Add support for "original" format in YouTube (fixes issue #155)
-rwxr-xr-xyoutube-dl3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index 36f392c83..ba8a25a06 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -685,13 +685,14 @@ class YoutubeIE(InfoExtractor):
 	_AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en'
 	_NETRC_MACHINE = 'youtube'
 	# Listed in order of priority for the -b option
-	_available_formats = ['37', '22', '45', '35', '34', '43', '18', '6', '5', '17', '13', None]
+	_available_formats = ['38', '37', '22', '45', '35', '34', '43', '18', '6', '5', '17', '13', None]
 	_video_extensions = {
 		'13': '3gp',
 		'17': 'mp4',
 		'18': 'mp4',
 		'22': 'mp4',
 		'37': 'mp4',
+		'38': 'video',
 		'43': 'webm',
 		'45': 'webm',
 	}