[extractor/twitter:spaces] Add `release_timestamp` (#7186)

Authored by: CeruleanSky
pull/7200/head
CeruleanSky 2 years ago committed by GitHub
parent ecfe47973f
commit 1c16d9df53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 @@ class TwitterSpacesIE(TwitterBaseIE):
'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…
Cancel
Save