From: Rogério Brito Date: Fri, 18 Oct 2013 21:53:00 +0000 (-0300) Subject: extractor: youtube: Fix extension of dash formats. X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=f6f1fc9286be14aa8e6a6ccfce50e159b46ab489;p=youtube-dl 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 --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index cfc142f26..96ead3310 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -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',