fix: code style

This commit is contained in:
ChocoLZS 2024-08-25 23:49:08 +08:00
parent 04f1bfde50
commit a2ed14747b

View File

@ -64,8 +64,8 @@ class PiaLiveIE(InfoExtractor):
'api_key': self._extract_vars('APIKEY', prod_configure)}) 'api_key': self._extract_vars('APIKEY', prod_configure)})
player_tag_list = self._download_json( player_tag_list = self._download_json(
f'{self.PIA_LIVE_API_URL}/perf/player-tag-list/{program_code}', f'{self.PIA_LIVE_API_URL}/perf/player-tag-list/{program_code}', program_code,
program_code, data=payload, headers={'Content-Type': content_type, 'Referer': self.PLAYER_ROOT_URL}, data=payload, headers={'Content-Type': content_type, 'Referer': self.PLAYER_ROOT_URL},
note='Fetching player tag list', errnote='Unable to fetch player tag list') note='Fetching player tag list', errnote='Unable to fetch player tag list')
chat_room_url = traverse_obj(self._download_json( chat_room_url = traverse_obj(self._download_json(