mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-25 10:17:41 +00:00
Update npo.py
* simplify comment * force CI
This commit is contained in:
parent
632897860b
commit
0c7261db90
1 changed files with 1 additions and 2 deletions
|
@ -226,9 +226,8 @@ class NPOIE(NPOBaseIE):
|
|||
'tokenId': player_token,
|
||||
'streamType': 'broadcast',
|
||||
},
|
||||
# empty data to force a POST request, avoiding HTTP 405
|
||||
data=b'')
|
||||
# Empty byte string in the call above to force a POST request
|
||||
# Without it HTTP 405 will happen
|
||||
if not streams:
|
||||
continue
|
||||
stream = streams.get('stream')
|
||||
|
|
Loading…
Reference in a new issue