From f120646f044db8c93976afcfcc7f76f221cb0241 Mon Sep 17 00:00:00 2001 From: Remita Amine Date: Wed, 21 Dec 2016 20:50:10 +0100 Subject: [PATCH] [viu] pass geo verification headers to auth request --- youtube_dl/extractor/viu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.39.5