mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-31 01:27:53 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
3ee2aa7a16
@ -3,6 +3,7 @@ from __future__ import unicode_literals
|
|||||||
|
|
||||||
import itertools
|
import itertools
|
||||||
import re
|
import re
|
||||||
|
import random
|
||||||
|
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from ..compat import (
|
from ..compat import (
|
||||||
@ -305,7 +306,7 @@ class TwitchStreamIE(TwitchBaseIE):
|
|||||||
|
|
||||||
query = {
|
query = {
|
||||||
'allow_source': 'true',
|
'allow_source': 'true',
|
||||||
'p': '9386337',
|
'p': random.randint(1000000, 10000000),
|
||||||
'player': 'twitchweb',
|
'player': 'twitchweb',
|
||||||
'segment_preference': '4',
|
'segment_preference': '4',
|
||||||
'sig': access_token['sig'],
|
'sig': access_token['sig'],
|
||||||
|
Loading…
Reference in New Issue
Block a user