0
0
Fork 0

[byutv] add support for geo restricted videos

main
Remita Amine 2017-12-13 17:51:24 +01:00
parent bec49996c6
commit 6bf9c28b0a
1 changed files with 3 additions and 3 deletions

View File

@ -39,10 +39,10 @@ class BYUtvIE(InfoExtractor):
'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']