projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bec4999
)
[byutv] add support for geo restricted videos
author
Remita Amine
<remitamine@gmail.com>
Wed, 13 Dec 2017 16:51:24 +0000
(17:51 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Wed, 13 Dec 2017 16:51:56 +0000
(17:51 +0100)
youtube_dl/extractor/byutv.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/byutv.py
b/youtube_dl/extractor/byutv.py
index dd7d2f858ab4026a4af4bc0f4c1c94b412fd4836..4bf4efe1f3c662dbec1414c8004c904b12412551 100644
(file)
--- 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']