Apply suggestions from code review

Co-authored-by: Mozi <29089388+pzhlkj6612@users.noreply.github.com>
This commit is contained in:
ChocoLZS 2024-09-11 09:15:34 +08:00 committed by GitHub
parent 0f4cdc03d9
commit d993580e6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -56,7 +56,9 @@ def _real_extract(self, url):
payload, content_type = multipart_encode({
'play_url': video_key,
'api_key': self.API_KEY})
'api_key': self.API_KEY,
})
player_tag_list = self._download_json(
f'{self.PIA_LIVE_API_URL}/perf/player-tag-list/{program_code}', program_code,