0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

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

Closes #6398
Authored by: bartbroere
This commit is contained in:
Bart Broere 2023-10-28 02:00:12 +02:00 committed by GitHub
parent 7b8b1cf5eb
commit 8e02a4dcc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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