Update yt_dlp/extractor/parti.py

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
Ben Faerber
2025-04-05 12:51:57 -06:00
committed by GitHub
co-authored by bashonly
parent 92b0103faa
commit cf15aa7e8b
+2 -3
View File
@@ -34,12 +34,11 @@ class PartiVideoIE(PartiBaseIE):
def _real_extract(self, url): def _real_extract(self, url):
video_id = self._match_id(url) video_id = self._match_id(url)
data = self._call_api(f'get_livestream_channel_info/recent/{video_id}', video_id) 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 { return {
'id': video_id, 'id': video_id,
'formats': formats, 'formats': self._extract_m3u8_formats(
urljoin('https://watch.parti.com', data['livestream_recording']), video_id, 'mp4'),
'is_live': False, 'is_live': False,
**traverse_obj(data, { **traverse_obj(data, {
'title': ('event_title', {str}), 'title': ('event_title', {str}),