[theplatform] always force theplatform to return a smil for _extract_theplatform_smil

This commit is contained in:
remitamine 2016-03-18 09:21:21 +01:00
parent e3d17b3c07
commit 4c92fd2e83
5 changed files with 10 additions and 8 deletions

View file

@ -78,7 +78,7 @@ class CBSNewsIE(ThePlatformIE):
pid = item.get('media' + format_id)
if not pid:
continue
release_url = 'http://link.theplatform.com/s/dJ5BDC/%s?format=SMIL&mbr=true' % pid
release_url = 'http://link.theplatform.com/s/dJ5BDC/%s?mbr=true' % pid
tp_formats, tp_subtitles = self._extract_theplatform_smil(release_url, video_id, 'Downloading %s SMIL data' % pid)
formats.extend(tp_formats)
subtitles = self._merge_subtitles(subtitles, tp_subtitles)