mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-22 20:20:09 +09:00
Add line comment
This commit is contained in:
parent
b4776f2e36
commit
fb2b4e2894
@ -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 New Issue
Block a user