From 6bf9c28b0ac5d44381008cebe4741f8f1d78c53d Mon Sep 17 00:00:00 2001 From: Remita Amine Date: Wed, 13 Dec 2017 17:51:24 +0100 Subject: [PATCH] [byutv] add support for geo restricted videos --- youtube_dl/extractor/byutv.py | 6 +++--- 1 file 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 @@ def _real_extract(self, url): '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']