mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-25 10:17:41 +00:00
Add line comment
This commit is contained in:
parent
b4776f2e36
commit
fb2b4e2894
1 changed files with 3 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue