|
|
@ -226,9 +226,8 @@ class NPOIE(NPOBaseIE):
|
|
|
|
'tokenId': player_token,
|
|
|
|
'tokenId': player_token,
|
|
|
|
'streamType': 'broadcast',
|
|
|
|
'streamType': 'broadcast',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
# empty data to force a POST request, avoiding HTTP 405
|
|
|
|
data=b'')
|
|
|
|
data=b'')
|
|
|
|
# Empty byte string in the call above to force a POST request
|
|
|
|
|
|
|
|
# Without it HTTP 405 will happen
|
|
|
|
|
|
|
|
if not streams:
|
|
|
|
if not streams:
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
stream = streams.get('stream')
|
|
|
|
stream = streams.get('stream')
|
|
|
|