mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-06 05:25:49 +01:00
[extractor] Standardize _live_title
This commit is contained in:
parent
46383212b3
commit
39ca3b5c7f
67 changed files with 68 additions and 94 deletions
|
|
@ -160,7 +160,7 @@ class RTVEALaCartaIE(InfoExtractor):
|
|||
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': self._live_title(title) if is_live else title,
|
||||
'title': title,
|
||||
'formats': formats,
|
||||
'thumbnail': info.get('image'),
|
||||
'subtitles': subtitles,
|
||||
|
|
@ -230,7 +230,7 @@ class RTVELiveIE(RTVEALaCartaIE):
|
|||
|
||||
return {
|
||||
'id': video_id,
|
||||
'title': self._live_title(title),
|
||||
'title': title,
|
||||
'formats': self._extract_png_formats(vidplayer_id),
|
||||
'is_live': True,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue