1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-22 13:02:54 +08:00

Fix twitch vod url

This commit is contained in:
David Caldwell 2019-07-01 21:11:08 -07:00
parent 5e3da0d42b
commit 32f90f3c59

View File

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