1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

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

This commit is contained in:
Sergey M․ 2017-02-19 06:16:00 +07:00
parent de64e23c56
commit f1a78ee4ef
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -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={