mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-06-30 11:02:51 -05:00
[viu] pass geo verification headers to auth request
This commit is contained in:
@ -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):
|
||||||
|
Reference in New Issue
Block a user