summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRicardo Garcia <[email protected]>2009-11-20 21:51:38 +0100
committerRicardo Garcia <[email protected]>2010-10-31 11:24:56 +0100
commitd9bc015b3ca1071c008783e8ae8e36f4ca8e4edf (patch)
treeacf1abbd30f56b059aa32801f268ab72c568e292
parent4bec29ef4bac6d007fa0f722eb7c55285e66e03a (diff)
downloadyoutube-dl-d9bc015b3ca1071c008783e8ae8e36f4ca8e4edf.tar.gz
youtube-dl-d9bc015b3ca1071c008783e8ae8e36f4ca8e4edf.zip
Take format 37 into account (fixes issue #65)
-rwxr-xr-xyoutube-dl3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index d3e8cf4f6..52bda1b25 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -530,12 +530,13 @@ 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', None] # listed in order of priority for -b flag
+ _available_formats = ['37', '22', '35', '18', '5', '17', '13', None] # listed in order of priority for -b flag
_video_extensions = {
'13': '3gp',
'17': 'mp4',
'18': 'mp4',
'22': 'mp4',
+ '37': 'mp4',
}
@staticmethod