Actually don't check the same format twice

This commit is contained in:
sepro 2024-05-04 14:39:09 +02:00
parent 9e305e7d03
commit 80b7cd374d
1 changed files with 1 additions and 0 deletions

View File

@ -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}/'):