commit 6bf9c28b0ac5d44381008cebe4741f8f1d78c53d
parent bec49996c68fe73b4e17e7418290072a4c4b7cdb
Author: Remita Amine <remitamine@gmail.com>
Date: Wed, 13 Dec 2017 17:51:24 +0100
[byutv] add support for geo restricted videos
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/youtube_dl/extractor/byutv.py b/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']