mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-26 02:55:17 +00:00
[extractor/twitter:spaces] Add release_timestamp
(#7186)
Authored by: CeruleanSky
This commit is contained in:
parent
ecfe47973f
commit
1c16d9df53
1 changed files with 3 additions and 0 deletions
|
@ -705,6 +705,7 @@ class TwitterIE(TwitterBaseIE):
|
|||
'uploader': r're:Monique Camarra.+?',
|
||||
'uploader_id': 'MoniqueCamarra',
|
||||
'live_status': 'was_live',
|
||||
'release_timestamp': 1658417414,
|
||||
'description': 'md5:acce559345fd49f129c20dbcda3f1201',
|
||||
'timestamp': 1658407771464,
|
||||
},
|
||||
|
@ -1327,6 +1328,8 @@ def _real_extract(self, url):
|
|||
'uploader_id': traverse_obj(
|
||||
metadata, ('creator_results', 'result', 'legacy', 'screen_name')),
|
||||
'live_status': live_status,
|
||||
'release_timestamp': try_call(
|
||||
lambda: int_or_none(metadata['scheduled_start'], scale=1000)),
|
||||
'timestamp': metadata.get('created_at'),
|
||||
'formats': formats,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue