mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:42:30 +00:00
[byutv] add support for geo restricted videos
This commit is contained in:
parent
bec49996c6
commit
6bf9c28b0a
@ -39,10 +39,10 @@ def _real_extract(self, url):
|
|||||||
'https://api.byutv.org/api3/catalog/getvideosforcontent', video_id,
|
'https://api.byutv.org/api3/catalog/getvideosforcontent', video_id,
|
||||||
query={
|
query={
|
||||||
'contentid': video_id,
|
'contentid': video_id,
|
||||||
'channel': 'byutv_global',
|
'channel': 'byutv',
|
||||||
'x-byutv-context': 'web$Global',
|
'x-byutv-context': 'web$US',
|
||||||
}, headers={
|
}, headers={
|
||||||
'x-byutv-context': 'web$Global',
|
'x-byutv-context': 'web$US',
|
||||||
'x-byutv-platformkey': 'xsaaw9c7y5',
|
'x-byutv-platformkey': 'xsaaw9c7y5',
|
||||||
})['ooyalaVOD']
|
})['ooyalaVOD']
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user