projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c5b5f2
)
[viu] pass geo verification headers to auth request
author
Remita Amine
<remitamine@gmail.com>
Wed, 21 Dec 2016 19:50:10 +0000
(20:50 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Wed, 21 Dec 2016 19:50:10 +0000
(20:50 +0100)
youtube_dl/extractor/viu.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/viu.py
b/youtube_dl/extractor/viu.py
index d4861a2fea7ee095d23770cb511e72ad90344e17..3fd889c8e95cca15b16cf9d022ac61813433d7c4 100644
(file)
--- a/
youtube_dl/extractor/viu.py
+++ b/
youtube_dl/extractor/viu.py
@@
-25,7
+25,7
@@
class ViuBaseIE(InfoExtractor):
'userid': 'guest',
'useridtype': 'guest',
'ver': '1.0'
- })
+ }
, headers=self.geo_verification_headers()
)
self._auth_token = viu_auth_res.info()['X-VIU-AUTH']
def _call_api(self, path, *args, **kwargs):