From 63d6944ad37255a9a59cab727af44da0dfe8d472 Mon Sep 17 00:00:00 2001 From: Argn0 Date: Tue, 27 Jun 2017 14:46:04 +0200 Subject: [PATCH] don't raise Error for No AssetType/Format Matches --- youtube_dl/extractor/theplatform.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/theplatform.py b/youtube_dl/extractor/theplatform.py index de236bbba..7d77dd311 100644 --- a/youtube_dl/extractor/theplatform.py +++ b/youtube_dl/extractor/theplatform.py @@ -38,7 +38,8 @@ class ThePlatformBaseIE(OnceIE): headers=self.geo_verification_headers()) error_element = find_xpath_attr(meta, _x('.//smil:ref'), 'src') if error_element is not None and error_element.attrib['src'].startswith( - 'http://link.theplatform.com/s/errorFiles/Unavailable.'): + 'http://link.theplatform.com/s/errorFiles/Unavailable.') and not error_element.attrib[ + 'title'].startswith('No AssetType'): raise ExtractorError(error_element.attrib['abstract'], expected=True) smil_formats = self._parse_smil_formats(