1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-28 02:06:51 +01:00

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>
This commit is contained in:
Rogério Brito 2013-10-18 18:53:00 -03:00
parent 16f36a6fc9
commit f6f1fc9286

View File

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