Browse Source

[viu] pass geo verification headers to auth request

totalwebcasting
Remita Amine 8 years ago
parent
commit
f120646f04
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/viu.py

+ 1
- 1
youtube_dl/extractor/viu.py View File

@ -25,7 +25,7 @@ class ViuBaseIE(InfoExtractor):
'userid': 'guest', 'userid': 'guest',
'useridtype': 'guest', 'useridtype': 'guest',
'ver': '1.0' 'ver': '1.0'
})
}, headers=self.geo_verification_headers())
self._auth_token = viu_auth_res.info()['X-VIU-AUTH'] self._auth_token = viu_auth_res.info()['X-VIU-AUTH']
def _call_api(self, path, *args, **kwargs): def _call_api(self, path, *args, **kwargs):


Loading…
Cancel
Save