From 80b7cd374dd5186084e21628e7e15053c0fd2046 Mon Sep 17 00:00:00 2001 From: sepro <4618135+seproDev@users.noreply.github.com> Date: Sat, 4 May 2024 14:39:09 +0200 Subject: [PATCH] Actually don't check the same format twice --- yt_dlp/YoutubeDL.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index 39593cb6c..f4aacab90 100644 --- a/yt_dlp/YoutubeDL.py +++ b/yt_dlp/YoutubeDL.py @@ -2138,6 +2138,7 @@ class YoutubeDL: for f in formats: if f.get('__working'): yield f + continue self.to_screen('[info] Testing format %s' % f['format_id']) path = self.get_output_path('temp') if not self._ensure_dir_exists(f'{path}/'):