0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00: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',