mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-26 02:55:17 +00:00
[twitch] extract m3u8 formats frame rate(closes #23333)
This commit is contained in:
parent
4067a23270
commit
1d31b7ca04
1 changed files with 2 additions and 0 deletions
|
@ -327,6 +327,7 @@ def _real_extract(self, url):
|
|||
'allow_audio_only': 'true',
|
||||
'allow_spectre': 'true',
|
||||
'player': 'twitchweb',
|
||||
'playlist_include_framerate': 'true',
|
||||
'nauth': access_token['token'],
|
||||
'nauthsig': access_token['sig'],
|
||||
})),
|
||||
|
@ -598,6 +599,7 @@ def _real_extract(self, url):
|
|||
'allow_spectre': 'true',
|
||||
'p': random.randint(1000000, 10000000),
|
||||
'player': 'twitchweb',
|
||||
'playlist_include_framerate': 'true',
|
||||
'segment_preference': '4',
|
||||
'sig': access_token['sig'].encode('utf-8'),
|
||||
'token': access_token['token'].encode('utf-8'),
|
||||
|
|
Loading…
Reference in a new issue