added a few more lines to the try/except and a proper warning message to show something didn't go right

This commit is contained in:
Zach Knox 2018-03-05 21:41:17 -05:00
parent fbaa4a8b82
commit dbcc399240
No known key found for this signature in database
GPG Key ID: C04ABED1572B5393

View File

@ -79,10 +79,13 @@ class CBSIE(CBSBaseIE):
tp_formats, tp_subtitles = self._extract_theplatform_smil(
update_url_query(tp_release_url, query), content_id,
'Downloading %s SMIL data' % asset_type)
formats.extend(tp_formats)
subtitles = self._merge_subtitles(subtitles, tp_subtitles)
except ExtractorError:
print("WARNING: Failed to download %s SMTL data" % asset_type)
continue
formats.extend(tp_formats)
subtitles = self._merge_subtitles(subtitles, tp_subtitles)
self._sort_formats(formats)
info = self._extract_theplatform_metadata(tp_path, content_id)