浏览代码

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

Sergey M․ 8 年之前
父节点
当前提交
f1a78ee4ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/extractor/tv4.py

+ 1 - 1
youtube_dl/extractor/tv4.py

@@ -80,7 +80,7 @@ class TV4IE(InfoExtractor):
         subtitles = {}
         subtitles = {}
         formats = []
         formats = []
         # http formats are linked with unresolvable host
         # http formats are linked with unresolvable host
-        for kind in ('hls', ''):
+        for kind in ('hls3', ''):
             data = self._download_json(
             data = self._download_json(
                 'https://prima.tv4play.se/api/web/asset/%s/play.json' % video_id,
                 'https://prima.tv4play.se/api/web/asset/%s/play.json' % video_id,
                 video_id, 'Downloading sources JSON', query={
                 video_id, 'Downloading sources JSON', query={