mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
[byutv] add support for geo restricted videos
This commit is contained in:
parent
bec49996c6
commit
6bf9c28b0a
@ -39,10 +39,10 @@ class BYUtvIE(InfoExtractor):
|
||||
'https://api.byutv.org/api3/catalog/getvideosforcontent', video_id,
|
||||
query={
|
||||
'contentid': video_id,
|
||||
'channel': 'byutv_global',
|
||||
'x-byutv-context': 'web$Global',
|
||||
'channel': 'byutv',
|
||||
'x-byutv-context': 'web$US',
|
||||
}, headers={
|
||||
'x-byutv-context': 'web$Global',
|
||||
'x-byutv-context': 'web$US',
|
||||
'x-byutv-platformkey': 'xsaaw9c7y5',
|
||||
})['ooyalaVOD']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user