mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 14:37:21 +00:00
Apply suggestions from code review
Co-authored-by: Mozi <29089388+pzhlkj6612@users.noreply.github.com>
This commit is contained in:
parent
0f4cdc03d9
commit
d993580e6f
|
@ -56,7 +56,9 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
payload, content_type = multipart_encode({
|
payload, content_type = multipart_encode({
|
||||||
'play_url': video_key,
|
'play_url': video_key,
|
||||||
'api_key': self.API_KEY})
|
'api_key': self.API_KEY,
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
player_tag_list = self._download_json(
|
player_tag_list = self._download_json(
|
||||||
f'{self.PIA_LIVE_API_URL}/perf/player-tag-list/{program_code}', program_code,
|
f'{self.PIA_LIVE_API_URL}/perf/player-tag-list/{program_code}', program_code,
|
||||||
|
|
Loading…
Reference in a new issue