aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-12-21 20:50:10 +0100
committerRemita Amine <remitamine@gmail.com>2016-12-21 20:50:10 +0100
commitf120646f044db8c93976afcfcc7f76f221cb0241 (patch)
tree440d1fdbea704f267fe73ad147ca9c0c11f0afc4 /youtube_dl
parent9c5b5f211535a832af4437930afcb6f4b64748c4 (diff)
[viu] pass geo verification headers to auth request
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/viu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/viu.py b/youtube_dl/extractor/viu.py
index d4861a2fe..3fd889c8e 100644
--- 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):