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