commit: f120646f044db8c93976afcfcc7f76f221cb0241
parent 9c5b5f211535a832af4437930afcb6f4b64748c4
Author: Remita Amine <remitamine@gmail.com>
Date: Wed, 21 Dec 2016 20:50:10 +0100
[viu] pass geo verification headers to auth request
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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):