aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-04-16 17:13:01 +0200
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-04-16 17:13:01 +0200
commit532c74ae868a15e42baefb0fdde5a753b690b0ee (patch)
treec5487d7af8b94a237e4472126ca309f18784e940
parentceba827e9aab563ae7c7190fc236ec1aa358ee59 (diff)
Add format #46 - WebM 1920x1080.
-rwxr-xr-xyoutube-dl6
1 files changed, 4 insertions, 2 deletions
diff --git a/youtube-dl b/youtube-dl
index 5224611d2..c1274ebca 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -1177,8 +1177,8 @@ class YoutubeIE(InfoExtractor):
_AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en'
_NETRC_MACHINE = 'youtube'
# Listed in order of quality
- _available_formats = ['38', '37', '22', '45', '35', '44', '34', '18', '43', '6', '5', '17', '13']
- _available_formats_prefer_free = ['38', '37', '45', '22', '44', '35', '43', '34', '18', '6', '5', '17', '13']
+ _available_formats = ['38', '37', '46', '22', '45', '35', '44', '34', '18', '43', '6', '5', '17', '13']
+ _available_formats_prefer_free = ['38', '46', '37', '45', '22', '44', '35', '43', '34', '18', '6', '5', '17', '13']
_video_extensions = {
'13': '3gp',
'17': 'mp4',
@@ -1189,6 +1189,7 @@ class YoutubeIE(InfoExtractor):
'43': 'webm',
'44': 'webm',
'45': 'webm',
+ '46': 'webm',
}
_video_dimensions = {
'5': '240x400',
@@ -1204,6 +1205,7 @@ class YoutubeIE(InfoExtractor):
'43': '360x640',
'44': '480x854',
'45': '720x1280',
+ '46': '1080x1920',
}
IE_NAME = u'youtube'