From: Remita Amine Date: Wed, 13 Dec 2017 16:51:24 +0000 (+0100) Subject: [byutv] add support for geo restricted videos X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=6bf9c28b0ac5d44381008cebe4741f8f1d78c53d;p=youtube-dl.git [byutv] add support for geo restricted videos --- 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']