aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2017-12-13 17:51:24 +0100
committerRemita Amine <remitamine@gmail.com>2017-12-13 17:51:56 +0100
commit6bf9c28b0ac5d44381008cebe4741f8f1d78c53d (patch)
tree581078dd42e533f2ff8ca0794586970d366b3633
parentbec49996c68fe73b4e17e7418290072a4c4b7cdb (diff)
[byutv] add support for geo restricted videos
-rw-r--r--youtube_dl/extractor/byutv.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/byutv.py b/youtube_dl/extractor/byutv.py
index dd7d2f858..4bf4efe1f 100644
--- 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']