Skip to content

Commit e970a40

Browse files
committed
add fast_ bread
1 parent 6da4cb0 commit e970a40

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

resources/lib/twitch/api/usher.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def live_request(channel):
5454
q.add_param(keys.ALLOW_SOURCE, Boolean.TRUE)
5555
q.add_param(keys.ALLOW_SPECTRE, Boolean.TRUE)
5656
q.add_param(keys.ALLOW_AUDIO_ONLY, Boolean.TRUE)
57+
q.add_param(keys.FAST_BREAD, Boolean.TRUE)
5758
url = '?'.join([q.url, urlencode(q.params)])
5859
request_dict = {'url': url, 'headers': q.headers}
5960
log.debug('live_request: |{0}|'.format(str(request_dict)))
@@ -69,6 +70,7 @@ def _live(channel, token):
6970
q.add_param(keys.ALLOW_SOURCE, Boolean.TRUE)
7071
q.add_param(keys.ALLOW_SPECTRE, Boolean.TRUE)
7172
q.add_param(keys.ALLOW_AUDIO_ONLY, Boolean.TRUE)
73+
q.add_param(keys.FAST_BREAD, Boolean.TRUE)
7274
return q
7375

7476

resources/lib/twitch/keys.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
EMOTE_ID = 'emote_id'
3939
EMOTESETS = 'emotesets'
4040
ERROR = 'error'
41+
FAST_BREAD = 'fast_bread'
4142
FEATURED = 'featured'
4243
FIRST = 'first'
4344
FOLLOWS = 'follows'

0 commit comments

Comments
 (0)