mirror of https://github.com/blackjack4494/yt-dlc
[cbs] do not catch Exceptions raised by by _extract_theplatform_smil
This commit is contained in:
parent
a71fca8577
commit
0841d5013c
|
@ -84,14 +84,11 @@ class CBSIE(CBSBaseIE):
|
||||||
pid = xpath_text(item, 'pid')
|
pid = xpath_text(item, 'pid')
|
||||||
if not pid:
|
if not pid:
|
||||||
continue
|
continue
|
||||||
try:
|
|
||||||
tp_release_url = self.TP_RELEASE_URL_TEMPLATE % pid
|
tp_release_url = self.TP_RELEASE_URL_TEMPLATE % pid
|
||||||
if '.m3u8' in xpath_text(item, 'contentUrl', default=''):
|
if '.m3u8' in xpath_text(item, 'contentUrl', default=''):
|
||||||
tp_release_url += '&manifest=m3u'
|
tp_release_url += '&manifest=m3u'
|
||||||
tp_formats, tp_subtitles = self._extract_theplatform_smil(
|
tp_formats, tp_subtitles = self._extract_theplatform_smil(
|
||||||
tp_release_url, content_id, 'Downloading %s SMIL data' % pid)
|
tp_release_url, content_id, 'Downloading %s SMIL data' % pid)
|
||||||
except ExtractorError:
|
|
||||||
continue
|
|
||||||
formats.extend(tp_formats)
|
formats.extend(tp_formats)
|
||||||
subtitles = self._merge_subtitles(subtitles, tp_subtitles)
|
subtitles = self._merge_subtitles(subtitles, tp_subtitles)
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
Loading…
Reference in New Issue