From f6f1fc9286be14aa8e6a6ccfce50e159b46ab489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= Date: Fri, 18 Oct 2013 18:53:00 -0300 Subject: [PATCH] extractor: youtube: Fix extension of dash formats. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While we are at it, separate the audio formats from the video formats. Signed-off-by: Rogério Brito --- youtube_dl/extractor/youtube.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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',