]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[cbs] do not catch Exceptions raised by by _extract_theplatform_smil
authorremitamine <remitamine@gmail.com>
Sat, 16 Apr 2016 09:25:59 +0000 (10:25 +0100)
committerremitamine <remitamine@gmail.com>
Sat, 16 Apr 2016 09:25:59 +0000 (10:25 +0100)
youtube_dl/extractor/cbs.py

index 62f52ec8edcd7d98993d1cb9f02769f3606539b5..653d09e341d15fc8be532cb04ce0d6804d44b80e 100644 (file)
@@ -84,14 +84,11 @@ class CBSIE(CBSBaseIE):
             pid = xpath_text(item, 'pid')
             if not pid:
                 continue
-            try:
-                tp_release_url = self.TP_RELEASE_URL_TEMPLATE % pid
-                if '.m3u8' in xpath_text(item, 'contentUrl', default=''):
-                    tp_release_url += '&manifest=m3u'
-                tp_formats, tp_subtitles = self._extract_theplatform_smil(
-                    tp_release_url, content_id, 'Downloading %s SMIL data' % pid)
-            except ExtractorError:
-                continue
+            tp_release_url = self.TP_RELEASE_URL_TEMPLATE % pid
+            if '.m3u8' in xpath_text(item, 'contentUrl', default=''):
+                tp_release_url += '&manifest=m3u'
+            tp_formats, tp_subtitles = self._extract_theplatform_smil(
+                tp_release_url, content_id, 'Downloading %s SMIL data' % pid)
             formats.extend(tp_formats)
             subtitles = self._merge_subtitles(subtitles, tp_subtitles)
         self._sort_formats(formats)