[twitch:vod] Actualize m3u8 URL (#21538, #21607)
authorDavid Caldwell <david+github@porkrind.org>
Wed, 3 Jul 2019 16:22:23 +0000 (09:22 -0700)
committerSergey M <dstftw@gmail.com>
Wed, 3 Jul 2019 16:22:23 +0000 (23:22 +0700)
youtube_dl/extractor/twitch.py

index dc5ff29c3f20545c30ad2b185305e4731774849c..0500e33a65c92a9667f84ca20f1c72e832365cad 100644 (file)
@@ -317,7 +317,7 @@ class TwitchVodIE(TwitchItemBaseIE):
             'Downloading %s access token' % self._ITEM_TYPE)
 
         formats = self._extract_m3u8_formats(
-            '%s/vod/%s?%s' % (
+            '%s/vod/%s.m3u8?%s' % (
                 self._USHER_BASE, item_id,
                 compat_urllib_parse_urlencode({
                     'allow_source': 'true',