aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc/extractor/ceskatelevize.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dlc/extractor/ceskatelevize.py')
-rw-r--r--youtube_dlc/extractor/ceskatelevize.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dlc/extractor/ceskatelevize.py b/youtube_dlc/extractor/ceskatelevize.py
index dc8b04ec6..6bfb760fa 100644
--- a/youtube_dlc/extractor/ceskatelevize.py
+++ b/youtube_dlc/extractor/ceskatelevize.py
@@ -147,7 +147,8 @@ class CeskaTelevizeIE(InfoExtractor):
is_live = item.get('type') == 'LIVE'
formats = []
for format_id, stream_url in item.get('streamUrls', {}).items():
- if not self._downloader.params.get('allow_unplayable_formats') and 'drmOnly=true' in stream_url:
+ if (not self._downloader.params.get('allow_unplayable_formats')
+ and 'drmOnly=true' in stream_url):
continue
if 'playerType=flash' in stream_url:
stream_formats = self._extract_m3u8_formats(