summaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/teletask.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:06:10 +0000
commit7e21328585afda6d66f98ca476301680eeffac32 (patch)
tree266a4e7b20443f94572748781d71fc0375a15037 /yt_dlp/extractor/teletask.py
parentAdding upstream version 2024.05.27. (diff)
downloadyt-dlp-7e21328585afda6d66f98ca476301680eeffac32.tar.xz
yt-dlp-7e21328585afda6d66f98ca476301680eeffac32.zip
Adding upstream version 2024.07.01.upstream/2024.07.01
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'yt_dlp/extractor/teletask.py')
-rw-r--r--yt_dlp/extractor/teletask.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/yt_dlp/extractor/teletask.py b/yt_dlp/extractor/teletask.py
index fd831f5..050196c 100644
--- a/yt_dlp/extractor/teletask.py
+++ b/yt_dlp/extractor/teletask.py
@@ -20,7 +20,7 @@ class TeleTaskIE(InfoExtractor):
'ext': 'mp4',
'title': 'Duplicate Detection',
'upload_date': '20141218',
- }
+ },
}, {
'md5': 'e1e7218c5f0e4790015a437fcf6c71b4',
'info_dict': {
@@ -28,8 +28,8 @@ class TeleTaskIE(InfoExtractor):
'ext': 'mp4',
'title': 'Duplicate Detection',
'upload_date': '20141218',
- }
- }]
+ },
+ }],
}
def _real_extract(self, url):
@@ -42,7 +42,7 @@ class TeleTaskIE(InfoExtractor):
r'Date:</td><td>([^<]+)</td>', webpage, 'date', fatal=False))
entries = [{
- 'id': '%s-%s' % (lecture_id, format_id),
+ 'id': f'{lecture_id}-{format_id}',
'url': video_url,
'title': title,
'upload_date': upload_date,