From 069c6ccf02b7e3f7ed7d380778ff257410f3fadf Mon Sep 17 00:00:00 2001 From: u-spec-png <54671367+u-spec-png@users.noreply.github.com> Date: Tue, 14 Dec 2021 17:15:50 +0000 Subject: [PATCH] [olympics] Add uploader and cleanup (#1990) Authored by: u-spec-png --- yt_dlp/extractor/olympics.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/yt_dlp/extractor/olympics.py b/yt_dlp/extractor/olympics.py index 0aad836fa..784f282c7 100644 --- a/yt_dlp/extractor/olympics.py +++ b/yt_dlp/extractor/olympics.py @@ -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 }