Skip to content

A feature-rich command-line audio/video downloader

[byutv] add support for geo restricted videos

Remita Amine6bf9c28b0ac5
diff --git a/youtube_dl/extractor/byutv.py b/youtube_dl/extractor/byutv.py
index dd7d2f858a..4bf4efe1f3 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']