diff options
author | Remita Amine <remitamine@gmail.com> | 2017-12-13 17:51:24 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2017-12-13 17:51:56 +0100 |
commit | 6bf9c28b0ac5d44381008cebe4741f8f1d78c53d (patch) | |
tree | 581078dd42e533f2ff8ca0794586970d366b3633 /youtube_dl | |
parent | bec49996c68fe73b4e17e7418290072a4c4b7cdb (diff) |
[byutv] add support for geo restricted videos
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/byutv.py | 6 |
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'] |