aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2019-12-06 15:34:35 +0100
committerRemita Amine <remitamine@gmail.com>2019-12-06 15:34:35 +0100
commit1d31b7ca048d0adf86946b8ace05e25d3216471e (patch)
tree04e0ff644f5a64e83d3b11fce2305c18fd5db504 /youtube_dl/extractor
parent4067a2327069c24915945fb5f5182e7fa987a57e (diff)
[twitch] extract m3u8 formats frame rate(closes #23333)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/twitch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/twitch.py b/youtube_dl/extractor/twitch.py
index 8c0d70010..1f3df3112 100644
--- a/youtube_dl/extractor/twitch.py
+++ b/youtube_dl/extractor/twitch.py
@@ -327,6 +327,7 @@ class TwitchVodIE(TwitchItemBaseIE):
'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 @@ class TwitchStreamIE(TwitchBaseIE):
'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'),