1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-17 06:35:42 +07:00

[extractor] Standardize _live_title

This commit is contained in:
pukkandan
2021-12-15 21:30:46 +05:30
parent 46383212b3
commit 39ca3b5c7f
67 changed files with 68 additions and 94 deletions

View File

@@ -305,7 +305,7 @@ def _real_extract(self, url):
return {
'id': video_id,
'title': self._live_title(title) if is_live else title,
'title': title,
'description': clean_html(media.get('description')),
'thumbnails': thumbnails,
'duration': int_or_none(metadata.get('duration')) or None,