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>
master
Rogério Brito 2013-10-18 18:53:00 -03:00
parent 16f36a6fc9
commit f6f1fc9286
1 changed files with 4 additions and 2 deletions

View File

@ -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',