[facebook] extract subtitles(closes #22777)
This commit is contained in:
parent
0c2d10d225
commit
07154c7930
2 changed files with 7 additions and 0 deletions
|
@ -147,6 +147,8 @@ class CeskaTelevizeIE(InfoExtractor):
|
|||
is_live = item.get('type') == 'LIVE'
|
||||
formats = []
|
||||
for format_id, stream_url in item.get('streamUrls', {}).items():
|
||||
if 'drmOnly=true' in stream_url:
|
||||
continue
|
||||
if 'playerType=flash' in stream_url:
|
||||
stream_formats = self._extract_m3u8_formats(
|
||||
stream_url, playlist_id, 'mp4', 'm3u8_native',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue