mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-12 14:26:49 +01:00
[rutv] Recognize live streams (#5584)
This commit is contained in:
parent
963aea5279
commit
8dab1e9072
@ -181,12 +181,15 @@ def _real_extract(self, url):
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
is_live = video_type == 'live'
|
||||
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': title,
|
||||
'title': self._live_title(title) if is_live else title,
|
||||
'description': description,
|
||||
'thumbnail': thumbnail,
|
||||
'view_count': view_count,
|
||||
'duration': duration,
|
||||
'formats': formats,
|
||||
'is_live': is_live,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user