0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

[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 @@ def _real_extract(self, url):
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',