extractor: youtube: Fix extension of dash formats.

While we are at it, separate the audio formats from the video formats.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
pull/8/head
Rogério Brito 11 years ago
parent 16f36a6fc9
commit f6f1fc9286

@ -236,10 +236,12 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
'136': 'mp4',
'137': 'mp4',
'138': 'mp4',
'139': 'mp4',
'160': 'mp4',
# Dash mp4 audio
'139': 'm4a',
'140': 'm4a',
'141': 'm4a',
'160': 'm4a',
# Dash webm
'171': 'webm',

Loading…
Cancel
Save