mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 06:27:21 +00: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',
|
'mpd/cenc+h264;q=0.9, mpd/clear+h264;q=0.7, mp4/;q=0.1',
|
||||||
]:
|
]:
|
||||||
session_info = self._call_api(
|
session_info = self._call_api(
|
||||||
'flux-capacitor/api/v1/streaming/session', video_id, 'Getting streaming session',
|
'flux-capacitor/api/v1/streaming/session', video_id,
|
||||||
headers={'x-chili-accept-stream': stream_type},
|
'Getting streaming session', headers={'x-chili-accept-stream': stream_type},
|
||||||
data=json.dumps({'videoAssetId': video_info['id'], 'autoPlay': False}).encode())
|
data=json.dumps({'videoAssetId': video_info['id'], 'autoPlay': False}).encode())
|
||||||
streams_info = self._call_api(
|
streams_info = self._call_api(
|
||||||
'flux-capacitor/api/v1/streaming/urls', video_id, 'Getting streaming urls',
|
'flux-capacitor/api/v1/streaming/urls', video_id, 'Getting streaming urls',
|
||||||
|
|
Loading…
Reference in a new issue