aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2022-01-12 07:18:10 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2022-01-12 07:18:10 +0530
commit463654846390165a923b395673b5aef581cd4e0d (patch)
treec87271abe219527539f74284faf0e8bee0a018c4
parentcb3c5682ae4eef85b5a210b699e12b8a9b0f6e88 (diff)
downloadhypervideo-pre-463654846390165a923b395673b5aef581cd4e0d.tar.lz
hypervideo-pre-463654846390165a923b395673b5aef581cd4e0d.tar.xz
hypervideo-pre-463654846390165a923b395673b5aef581cd4e0d.zip
[CeskaTelevize] Use `http` for manifests
Workaround for #2043
-rw-r--r--yt_dlp/extractor/ceskatelevize.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yt_dlp/extractor/ceskatelevize.py b/yt_dlp/extractor/ceskatelevize.py
index 6c90b247e..ddf66b207 100644
--- a/yt_dlp/extractor/ceskatelevize.py
+++ b/yt_dlp/extractor/ceskatelevize.py
@@ -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',