[olympics] Add uploader and cleanup (#1990)

Authored by: u-spec-png
This commit is contained in:
u-spec-png 2021-12-14 17:15:50 +00:00 committed by GitHub
parent 53dad39e30
commit 069c6ccf02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ class OlympicsReplayIE(InfoExtractor):
'upload_date': '20210801',
'timestamp': 1627783200,
'description': 'md5:c66af4a5bc7429dbcc43d15845ff03b3',
'uploader': 'International Olympic Committee',
},
'params': {
'skip_download': True,
@ -61,10 +62,8 @@ def _real_extract(self, url):
return {
'id': uuid,
'title': title,
'timestamp': json_ld.get('timestamp'),
'description': json_ld.get('description'),
'thumbnails': thumbnails,
'duration': json_ld.get('duration'),
'formats': formats,
'subtitles': subtitles,
**json_ld
}