diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:06:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-08-05 09:06:10 +0000 |
commit | 137f07c27a88b07df57df5b2cdebebe3c7722bac (patch) | |
tree | 4ebdcbea6b540f69c40ba0be6ac766008030d149 /yt_dlp/extractor/sportdeutschland.py | |
parent | Adding debian version 2024.05.27-1. (diff) | |
download | yt-dlp-137f07c27a88b07df57df5b2cdebebe3c7722bac.tar.xz yt-dlp-137f07c27a88b07df57df5b2cdebebe3c7722bac.zip |
Merging upstream version 2024.07.01.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'yt_dlp/extractor/sportdeutschland.py')
-rw-r--r-- | yt_dlp/extractor/sportdeutschland.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/yt_dlp/extractor/sportdeutschland.py b/yt_dlp/extractor/sportdeutschland.py index 30dbcf3..2d6acb8 100644 --- a/yt_dlp/extractor/sportdeutschland.py +++ b/yt_dlp/extractor/sportdeutschland.py @@ -24,7 +24,7 @@ class SportDeutschlandIE(InfoExtractor): 'duration': 32447, 'upload_date': '20230114', 'timestamp': 1673733618, - } + }, }, { 'url': 'https://sportdeutschland.tv/deutscherbadmintonverband/bwf-tour-1-runde-feld-1-yonex-gainward-german-open-2022-0', 'info_dict': { @@ -40,7 +40,7 @@ class SportDeutschlandIE(InfoExtractor): 'duration': 41097, 'upload_date': '20220309', 'timestamp': 1646860727.0, - } + }, }, { 'url': 'https://sportdeutschland.tv/ggcbremen/formationswochenende-latein-2023', 'info_dict': { @@ -66,8 +66,8 @@ class SportDeutschlandIE(InfoExtractor): 'upload_date': '20230225', 'timestamp': 1677349909, 'live_status': 'was_live', - } - }] + }, + }], }, { 'url': 'https://sportdeutschland.tv/dtb/gymnastik-international-tag-1', 'info_dict': { @@ -99,7 +99,7 @@ class SportDeutschlandIE(InfoExtractor): **traverse_obj(video, { 'id': 'id', 'duration': ('duration', {lambda x: float(x) > 0 and float(x)}), - 'timestamp': ('created_at', {unified_timestamp}) + 'timestamp': ('created_at', {unified_timestamp}), }), } @@ -120,7 +120,7 @@ class SportDeutschlandIE(InfoExtractor): 'is_live': 'currently_live', 'was_live': 'was_live', 'channel_url': ('profile', 'slug', {lambda x: f'https://sportdeutschland.tv/{x}'}), - }, get_all=False) + }, get_all=False), } parts = traverse_obj(meta, (('livestream', ('videos', ...)), )) |