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:
parent
b4776f2e36
commit
fb2b4e2894
@ -207,7 +207,7 @@ class NPOIE(NPOBaseIE):
|
|||||||
'pageUrl': url,
|
'pageUrl': url,
|
||||||
'isFavourite': "false",
|
'isFavourite': "false",
|
||||||
'hasAdConsent': 0,
|
'hasAdConsent': 0,
|
||||||
},))
|
}))
|
||||||
|
|
||||||
player_token = player['token']
|
player_token = player['token']
|
||||||
|
|
||||||
@ -223,7 +223,8 @@ class NPOIE(NPOBaseIE):
|
|||||||
'quality': 'npo',
|
'quality': 'npo',
|
||||||
'tokenId': player_token,
|
'tokenId': player_token,
|
||||||
'streamType': 'broadcast',
|
'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:
|
if not streams:
|
||||||
continue
|
continue
|
||||||
stream = streams.get('stream')
|
stream = streams.get('stream')
|
||||||
|
Loading…
Reference in New Issue
Block a user