Explorar o código

[twitch:vod] Actualize m3u8 URL (#21538, #21607)

David Caldwell %!s(int64=6) %!d(string=hai) anos
pai
achega
2da4316e48
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube_dl/extractor/twitch.py

+ 1 - 1
youtube_dl/extractor/twitch.py

@@ -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',