aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2019-12-24 23:51:08 +0700
committerSergey M․ <dstftw@gmail.com>2019-12-24 23:51:08 +0700
commit9b6e72fd06e8669cc1a7200f3318eec51d06b4a0 (patch)
tree6a4a02b346ca725492c30fa0164bfdccbb5f5dee /youtube_dl
parent2dbc0967f26425acc204395bc69c9446d9ebd682 (diff)
[mediaset] Fix parse formats (closes #23508)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/mediaset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/mediaset.py b/youtube_dl/extractor/mediaset.py
index f976506f4..027a790b8 100644
--- a/youtube_dl/extractor/mediaset.py
+++ b/youtube_dl/extractor/mediaset.py
@@ -123,7 +123,7 @@ class MediasetIE(ThePlatformBaseIE):
def _parse_smil_formats(self, smil, smil_url, video_id, namespace=None, f4m_params=None, transform_rtmp_url=None):
for video in smil.findall(self._xpath_ns('.//video', namespace)):
video.attrib['src'] = re.sub(r'(https?://vod05)t(-mediaset-it\.akamaized\.net/.+?.mpd)\?.+', r'\1\2', video.attrib['src'])
- return super()._parse_smil_formats(smil, smil_url, video_id, namespace, f4m_params, transform_rtmp_url)
+ return super(MediasetIE, self)._parse_smil_formats(smil, smil_url, video_id, namespace, f4m_params, transform_rtmp_url)
def _real_extract(self, url):
guid = self._match_id(url)