mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 11:31:29 +01:00
code style
This commit is contained in:
parent
aa512f8b45
commit
971bf92c06
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user