1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-07-21 04:33:16 +02:00

[viu] pass geo verification headers to auth request

This commit is contained in:
Remita Amine 2016-12-21 20:50:10 +01:00
parent 9c5b5f2115
commit f120646f04

View File

@ -25,7 +25,7 @@ def _real_initialize(self):
'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):