[ie/npo] Send `POST` request to streams API endpoint (#8413)

Closes #6398
Authored by: bartbroere
pull/8458/head
Bart Broere 1 year ago committed by GitHub
parent 7b8b1cf5eb
commit 8e02a4dcc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -245,7 +245,7 @@ class NPOIE(InfoExtractor):
'quality': 'npoplus', 'quality': 'npoplus',
'tokenId': player_token, 'tokenId': player_token,
'streamType': 'broadcast', 'streamType': 'broadcast',
}) }, data=b'') # endpoint requires POST
if not streams: if not streams:
continue continue
stream = streams.get('stream') stream = streams.get('stream')

Loading…
Cancel
Save