diff options
Diffstat (limited to 'youtube_dlc/extractor/ninecninemedia.py')
-rw-r--r-- | youtube_dlc/extractor/ninecninemedia.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/ninecninemedia.py b/youtube_dlc/extractor/ninecninemedia.py index 39ae4c66e..f98e8396b 100644 --- a/youtube_dlc/extractor/ninecninemedia.py +++ b/youtube_dlc/extractor/ninecninemedia.py @@ -36,7 +36,8 @@ class NineCNineMediaIE(InfoExtractor): '$include': '[HasClosedCaptions]', }) - if not self._downloader.params.get('allow_unplayable_formats') and try_get(content_package, lambda x: x['Constraints']['Security']['Type']): + if (not self._downloader.params.get('allow_unplayable_formats') + and try_get(content_package, lambda x: x['Constraints']['Security']['Type'])): raise ExtractorError('This video is DRM protected.', expected=True) manifest_base_url = content_package_url + 'manifest.' |