From 16f36a6fc92d6ab89293e45de65475455fbc1b47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rog=C3=A9rio=20Brito?= Date: Fri, 18 Oct 2013 17:50:55 -0300 Subject: [PATCH] extractor: youtube: Set extension of AAC audio formats to m4a. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This, in particular, eases downloading both audio and videos in DASH formats before muxing them, which alleviates the problem that I exposed on issue Furthermore, one may argue that this is, indeed, the case for correctness's sake. Signed-off-by: Rogério Brito --- youtube_dl/extractor/youtube.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index fb7c42830..cfc142f26 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -237,9 +237,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor): '137': 'mp4', '138': 'mp4', '139': 'mp4', - '140': 'mp4', - '141': 'mp4', - '160': 'mp4', + '140': 'm4a', + '141': 'm4a', + '160': 'm4a', # Dash webm '171': 'webm',