aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2013-10-18 18:53:00 -0300
committerRogério Brito <rbrito@ime.usp.br>2013-10-18 18:53:00 -0300
commitf6f1fc9286be14aa8e6a6ccfce50e159b46ab489 (patch)
treedc2cafffbc09976f0868d981dca6e7288c7959fa /youtube_dl
parent16f36a6fc92d6ab89293e45de65475455fbc1b47 (diff)
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>
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/youtube.py6
1 files 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',