Skip to content

A feature-rich command-line audio/video downloader

[tv4] Switch to hls3 protocol (closes #12177)

Sergey M․f1a78ee4ef3b
diff --git a/youtube_dl/extractor/tv4.py b/youtube_dl/extractor/tv4.py
index ad79db92be..7918e3d86f 100644
--- a/youtube_dl/extractor/tv4.py
+++ b/youtube_dl/extractor/tv4.py
@@ -80,7 +80,7 @@ class TV4IE(InfoExtractor):
subtitles = {}
formats = []
# http formats are linked with unresolvable host
- for kind in ('hls', ''):
+ for kind in ('hls3', ''):
data = self._download_json(
'https://prima.tv4play.se/api/web/asset/%s/play.json' % video_id,
video_id, 'Downloading sources JSON', query={