Browse Source

[byutv] add support for geo restricted videos

master
Remita Amine 7 years ago
parent
commit
6bf9c28b0a
1 changed files with 3 additions and 3 deletions
  1. 6
      youtube_dl/extractor/byutv.py

6
youtube_dl/extractor/byutv.py

@ -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…
Cancel
Save