mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-27 08:58:30 +00:00
formatting
This commit is contained in:
parent
4f208f7151
commit
fcf614b829
@ -21,8 +21,7 @@ class KickBaseIE(InfoExtractor):
|
|||||||
def _api_headers(self):
|
def _api_headers(self):
|
||||||
token = traverse_obj(
|
token = traverse_obj(
|
||||||
self._get_cookies('https://kick.com/'),
|
self._get_cookies('https://kick.com/'),
|
||||||
('session_token', 'value', {urllib.parse.unquote}),
|
('session_token', 'value', {urllib.parse.unquote}))
|
||||||
)
|
|
||||||
return {'Authorization': f'Bearer {token}'} if token else {}
|
return {'Authorization': f'Bearer {token}'} if token else {}
|
||||||
|
|
||||||
def _call_api(self, path, display_id, note='Downloading API JSON', headers={}, **kwargs):
|
def _call_api(self, path, display_id, note='Downloading API JSON', headers={}, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user