|
|
@ -1088,7 +1088,7 @@ class YoutubeIE(InfoExtractor):
|
|
|
|
_AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en'
|
|
|
|
_AGE_URL = 'http://www.youtube.com/verify_age?next_url=/&gl=US&hl=en'
|
|
|
|
_NETRC_MACHINE = 'youtube'
|
|
|
|
_NETRC_MACHINE = 'youtube'
|
|
|
|
# Listed in order of quality
|
|
|
|
# Listed in order of quality
|
|
|
|
_available_formats = ['38', '37', '22', '45', '35', '43', '34', '18', '6', '5', '17', '13']
|
|
|
|
_available_formats = ['38', '37', '22', '45', '35', '44', '34', '43', '18', '6', '5', '17', '13']
|
|
|
|
_video_extensions = {
|
|
|
|
_video_extensions = {
|
|
|
|
'13': '3gp',
|
|
|
|
'13': '3gp',
|
|
|
|
'17': 'mp4',
|
|
|
|
'17': 'mp4',
|
|
|
@ -1097,6 +1097,7 @@ class YoutubeIE(InfoExtractor):
|
|
|
|
'37': 'mp4',
|
|
|
|
'37': 'mp4',
|
|
|
|
'38': 'video', # You actually don't know if this will be MOV, AVI or whatever
|
|
|
|
'38': 'video', # You actually don't know if this will be MOV, AVI or whatever
|
|
|
|
'43': 'webm',
|
|
|
|
'43': 'webm',
|
|
|
|
|
|
|
|
'44': 'webm',
|
|
|
|
'45': 'webm',
|
|
|
|
'45': 'webm',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
IE_NAME = u'youtube'
|
|
|
|
IE_NAME = u'youtube'
|
|
|
|