diff options
author | u-spec-png <54671367+u-spec-png@users.noreply.github.com> | 2021-12-14 17:15:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-14 22:45:50 +0530 |
commit | 069c6ccf02b7e3f7ed7d380778ff257410f3fadf (patch) | |
tree | c1709da5a0c425f976da7b76307958c51c228c75 | |
parent | 53dad39e30b007feed4b6d4776bd15d28c27a96c (diff) | |
download | hypervideo-pre-069c6ccf02b7e3f7ed7d380778ff257410f3fadf.tar.lz hypervideo-pre-069c6ccf02b7e3f7ed7d380778ff257410f3fadf.tar.xz hypervideo-pre-069c6ccf02b7e3f7ed7d380778ff257410f3fadf.zip |
[olympics] Add uploader and cleanup (#1990)
Authored by: u-spec-png
-rw-r--r-- | yt_dlp/extractor/olympics.py | 5 |
1 files 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 @@ class OlympicsReplayIE(InfoExtractor): 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 } |