mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 07:12:41 +00:00
[twitch:vod] Fix 'Source' format in m3u8 (closes #6115)
This commit is contained in:
parent
23e7cba87f
commit
bb512e57dc
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ class TwitchVodIE(TwitchItemBaseIE):
|
||||||
'%s/api/vods/%s/access_token' % (self._API_BASE, item_id), item_id,
|
'%s/api/vods/%s/access_token' % (self._API_BASE, item_id), item_id,
|
||||||
'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?nauth=%s&nauthsig=%s'
|
'%s/vod/%s?nauth=%s&nauthsig=%s&allow_source=true'
|
||||||
% (self._USHER_BASE, item_id, access_token['token'], access_token['sig']),
|
% (self._USHER_BASE, item_id, access_token['token'], access_token['sig']),
|
||||||
item_id, 'mp4')
|
item_id, 'mp4')
|
||||||
self._prefer_source(formats)
|
self._prefer_source(formats)
|
||||||
|
|
Loading…
Reference in a new issue