aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-01-30 21:32:15 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-01-30 21:32:15 +0800
commit5d2c0fd9ba2251a5c91b7d8b1dd285b427a2251e (patch)
tree2d5d70b9c88f20ccf7393b7fc9353a32c83351ca /youtube_dl/extractor/youtube.py
parent0803753fea578355db68ae9f2d915db04cde7557 (diff)
[youtube] Pass self._formats to _parse_dash_manifest
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index acd5cf2c3..c1d570cb3 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -1478,7 +1478,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
errnote='Could not download DASH manifest',
fatal=dash_mpd_fatal)
- for df in self._parse_dash_manifest(video_id, dash_doc, dash_mpd_fatal):
+ for df in self._parse_dash_manifest(
+ video_id, dash_doc, formats_dict=self._formats, fatal=dash_mpd_fatal):
# Do not overwrite DASH format found in some previous DASH manifest
if df['format_id'] not in dash_formats:
dash_formats[df['format_id']] = df