From: Remita Amine Date: Wed, 21 Dec 2016 19:50:10 +0000 (+0100) Subject: [viu] pass geo verification headers to auth request X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=f120646f044db8c93976afcfcc7f76f221cb0241;p=youtube-dl [viu] pass geo verification headers to auth request --- 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):