aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/generic.py
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2017-12-05 23:11:15 +0700
committerSergey M․ <[email protected]>2017-12-05 23:11:15 +0700
commitd3f8b76b69b9bc986354a83a8d4ee4a8617ce52d (patch)
tree9b596de53b7e63e92cf3c70e7122f23299cfa667 /youtube_dl/extractor/generic.py
parent91328f26b05084a1ddd890866670a1133564ecd0 (diff)
downloadyoutube-dl-d3f8b76b69b9bc986354a83a8d4ee4a8617ce52d.tar.gz
youtube-dl-d3f8b76b69b9bc986354a83a8d4ee4a8617ce52d.zip
[extractor/generic] Fix typo (closes #14902)
Don't pass video_id as mpd_id
Diffstat (limited to 'youtube_dl/extractor/generic.py')
-rw-r--r--youtube_dl/extractor/generic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 56df2ab47..c8b7c2e63 100644
--- 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'])