]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[tv4] Switch to hls3 protocol (closes #12177)
authorSergey M․ <dstftw@gmail.com>
Sat, 18 Feb 2017 23:16:00 +0000 (06:16 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 18 Feb 2017 23:16:00 +0000 (06:16 +0700)
youtube_dl/extractor/tv4.py

index ad79db92beb3825dc1293b047acf7c61ca99386a..7918e3d86f9f88ff91274a08d8fd4d06885c12b8 100644 (file)
@@ -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={