[extractor] Standardize _live_title
This commit is contained in:
parent
46383212b3
commit
39ca3b5c7f
67 changed files with 68 additions and 94 deletions
|
|
@ -106,7 +106,7 @@ class TV2IE(InfoExtractor):
|
|||
return {
|
||||
'id': video_id,
|
||||
'url': video_url,
|
||||
'title': self._live_title(title) if is_live else title,
|
||||
'title': title,
|
||||
'description': strip_or_none(asset.get('description')),
|
||||
'thumbnails': thumbnails,
|
||||
'timestamp': parse_iso8601(asset.get('live_broadcast_time') or asset.get('update_time')),
|
||||
|
|
@ -271,7 +271,7 @@ class KatsomoIE(InfoExtractor):
|
|||
return {
|
||||
'id': video_id,
|
||||
'url': video_url,
|
||||
'title': self._live_title(title) if is_live else title,
|
||||
'title': title,
|
||||
'description': strip_or_none(asset.get('description')),
|
||||
'thumbnails': thumbnails,
|
||||
'timestamp': parse_iso8601(asset.get('createTime')),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue