1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-16 22:37:35 +00:00

Add line comment

This commit is contained in:
Bart Broere 2023-03-31 12:46:05 +02:00
parent b4776f2e36
commit fb2b4e2894

View File

@ -207,7 +207,7 @@ class NPOIE(NPOBaseIE):
'pageUrl': url,
'isFavourite': "false",
'hasAdConsent': 0,
},))
}))
player_token = player['token']
@ -223,7 +223,8 @@ class NPOIE(NPOBaseIE):
'quality': 'npo',
'tokenId': player_token,
'streamType': 'broadcast',
}, data=b"")
},
data=b"") # empty byte string to force a POST request instead of GET, without it HTTP 405 will happen
if not streams:
continue
stream = streams.get('stream')