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 | 7e21328585afda6d66f98ca476301680eeffac32 (patch) | |
tree | 266a4e7b20443f94572748781d71fc0375a15037 /yt_dlp/extractor/unistra.py | |
parent | Adding upstream version 2024.05.27. (diff) | |
download | yt-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/unistra.py')
-rw-r--r-- | yt_dlp/extractor/unistra.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yt_dlp/extractor/unistra.py b/yt_dlp/extractor/unistra.py index 6e872cd..edc1f85 100644 --- a/yt_dlp/extractor/unistra.py +++ b/yt_dlp/extractor/unistra.py @@ -27,7 +27,7 @@ class UnistraIE(InfoExtractor): 'title': 'Prix Louise Weiss 2014', 'description': 'md5:cc3a8735f079f4fb6b0b570fc10c135a', }, - } + }, ] def _real_extract(self, url): @@ -43,9 +43,9 @@ class UnistraIE(InfoExtractor): for file_path in files: format_id = 'HD' if file_path.endswith('-HD.mp4') else 'SD' formats.append({ - 'url': 'http://vod-flash.u-strasbg.fr:8080%s' % file_path, + 'url': f'http://vod-flash.u-strasbg.fr:8080{file_path}', 'format_id': format_id, - 'quality': quality(format_id) + 'quality': quality(format_id), }) title = self._html_search_regex( @@ -60,5 +60,5 @@ class UnistraIE(InfoExtractor): 'title': title, 'description': description, 'thumbnail': thumbnail, - 'formats': formats + 'formats': formats, } |