Cleanup some code and fix typos
:ci skip dl
This commit is contained in:
parent
1ea2412927
commit
068693675e
15 changed files with 50 additions and 31 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue