From cf15aa7e8b763814f04ef4c0629c9378bb22e31d Mon Sep 17 00:00:00 2001 From: Ben Faerber Date: Sat, 5 Apr 2025 12:51:57 -0600 Subject: [PATCH] Update yt_dlp/extractor/parti.py Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com> --- yt_dlp/extractor/parti.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/yt_dlp/extractor/parti.py b/yt_dlp/extractor/parti.py index bc9d613d75..02f39a3c48 100644 --- a/yt_dlp/extractor/parti.py +++ b/yt_dlp/extractor/parti.py @@ -34,12 +34,11 @@ class PartiVideoIE(PartiBaseIE): def _real_extract(self, url): video_id = self._match_id(url) data = self._call_api(f'get_livestream_channel_info/recent/{video_id}', video_id) - formats = self._extract_m3u8_formats( - urljoin('https://watch.parti.com', data['livestream_recording']), video_id, 'mp4') return { 'id': video_id, - 'formats': formats, + 'formats': self._extract_m3u8_formats( + urljoin('https://watch.parti.com', data['livestream_recording']), video_id, 'mp4'), 'is_live': False, **traverse_obj(data, { 'title': ('event_title', {str}),