[olympics] Add uploader and cleanup (#1990)

Authored by: u-spec-png
pull/2006/head
u-spec-png 3 years ago committed by GitHub
parent 53dad39e30
commit 069c6ccf02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save