mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-18 06:09:17 +00:00
Actually don't check the same format twice
This commit is contained in:
parent
9e305e7d03
commit
80b7cd374d
|
@ -2138,6 +2138,7 @@ def _check_formats(self, formats):
|
|||
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}/'):
|
||||
|
|
Loading…
Reference in a new issue