projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91328f2
)
[extractor/generic] Fix typo (closes #14902)
author
Sergey M․
<dstftw@gmail.com>
Tue, 5 Dec 2017 16:11:15 +0000
(23:11 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 5 Dec 2017 16:11:15 +0000
(23:11 +0700)
Don't pass video_id as mpd_id
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 56df2ab47914f569b886b1105754d492e7993148..c8b7c2e63fb709329ef4da6044e1b89a9d9cf6b4 100644
(file)
--- a/
youtube_dl/extractor/generic.py
+++ b/
youtube_dl/extractor/generic.py
@@
-2195,7
+2195,7
@@
class GenericIE(InfoExtractor):
return self.playlist_result(self._parse_xspf(doc, video_id), video_id)
elif re.match(r'(?i)^(?:{[^}]+})?MPD$', doc.tag):
info_dict['formats'] = self._parse_mpd_formats(
- doc,
video_id,
+ doc,
mpd_base_url=compat_str(full_response.geturl()).rpartition('/')[0],
mpd_url=url)
self._sort_formats(info_dict['formats'])