projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0803753
)
[youtube] Pass self._formats to _parse_dash_manifest
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 30 Jan 2016 13:32:15 +0000
(21:32 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sat, 30 Jan 2016 13:32:15 +0000
(21:32 +0800)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index acd5cf2c36f3fb209e598531690d9c2f26b67681..c1d570cb38c4fdb004effeeec61743be8c574cb1 100644
(file)
--- 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