mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-11 02:27:14 +08:00
Merge pull request #189 from ytdl-org/master
[pull] master from ytdl-org:master
This commit is contained in:
commit
fa49172ff9
@ -327,6 +327,7 @@ class TwitchVodIE(TwitchItemBaseIE):
|
|||||||
'allow_audio_only': 'true',
|
'allow_audio_only': 'true',
|
||||||
'allow_spectre': 'true',
|
'allow_spectre': 'true',
|
||||||
'player': 'twitchweb',
|
'player': 'twitchweb',
|
||||||
|
'playlist_include_framerate': 'true',
|
||||||
'nauth': access_token['token'],
|
'nauth': access_token['token'],
|
||||||
'nauthsig': access_token['sig'],
|
'nauthsig': access_token['sig'],
|
||||||
})),
|
})),
|
||||||
@ -598,6 +599,7 @@ class TwitchStreamIE(TwitchBaseIE):
|
|||||||
'allow_spectre': 'true',
|
'allow_spectre': 'true',
|
||||||
'p': random.randint(1000000, 10000000),
|
'p': random.randint(1000000, 10000000),
|
||||||
'player': 'twitchweb',
|
'player': 'twitchweb',
|
||||||
|
'playlist_include_framerate': 'true',
|
||||||
'segment_preference': '4',
|
'segment_preference': '4',
|
||||||
'sig': access_token['sig'].encode('utf-8'),
|
'sig': access_token['sig'].encode('utf-8'),
|
||||||
'token': access_token['token'].encode('utf-8'),
|
'token': access_token['token'].encode('utf-8'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user