mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-14 15:04:06 +03:00
Update yt_dlp/extractor/parti.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
@@ -93,15 +93,14 @@ class PartiLivestreamIE(PartiBaseIE):
|
|||||||
raise UserNotLive(video_id=creator_id)
|
raise UserNotLive(video_id=creator_id)
|
||||||
|
|
||||||
channel_info = data['channel']
|
channel_info = data['channel']
|
||||||
formats = self._extract_m3u8_formats(
|
|
||||||
channel_info['playback_url'], creator_slug, live=True, query={
|
|
||||||
'token': channel_info['playback_auth_token'],
|
|
||||||
'player_version': '1.17.0',
|
|
||||||
})
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': creator_slug,
|
'id': creator_slug,
|
||||||
'formats': formats,
|
'formats': self._extract_m3u8_formats(
|
||||||
|
channel_info['playback_url'], creator_slug, live=True, query={
|
||||||
|
'token': channel_info['playback_auth_token'],
|
||||||
|
'player_version': '1.17.0',
|
||||||
|
}),
|
||||||
'is_live': True,
|
'is_live': True,
|
||||||
**traverse_obj(data, {
|
**traverse_obj(data, {
|
||||||
'title': ('livestream_event_info', 'event_name', {str}),
|
'title': ('livestream_event_info', 'event_name', {str}),
|
||||||
|
|||||||
Reference in New Issue
Block a user