0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-25 02:45:12 +00:00

code style

This commit is contained in:
Mozi 2024-10-31 01:12:22 +00:00
parent aa512f8b45
commit 971bf92c06

View file

@ -67,8 +67,8 @@ def _extract_video(self, video_info, video_id):
'mpd/cenc+h264;q=0.9, mpd/clear+h264;q=0.7, mp4/;q=0.1',
]:
session_info = self._call_api(
'flux-capacitor/api/v1/streaming/session', video_id, 'Getting streaming session',
headers={'x-chili-accept-stream': stream_type},
'flux-capacitor/api/v1/streaming/session', video_id,
'Getting streaming session', headers={'x-chili-accept-stream': stream_type},
data=json.dumps({'videoAssetId': video_info['id'], 'autoPlay': False}).encode())
streams_info = self._call_api(
'flux-capacitor/api/v1/streaming/urls', video_id, 'Getting streaming urls',