[CeskaTelevize] Use http for manifests

Workaround for #2043
This commit is contained in:
pukkandan 2022-01-12 07:18:10 +05:30
parent cb3c5682ae
commit 4636548463
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -177,6 +177,7 @@ class CeskaTelevizeIE(InfoExtractor):
is_live = item.get('type') == 'LIVE'
formats = []
for format_id, stream_url in item.get('streamUrls', {}).items():
stream_url = stream_url.replace('https://', 'http://')
if 'playerType=flash' in stream_url:
stream_formats = self._extract_m3u8_formats(
stream_url, playlist_id, 'mp4', 'm3u8_native',