Fix selectors all, mergeall and add tests

Bug from: 981052c9c6
This commit is contained in:
pukkandan
2021-07-07 21:05:58 +05:30
parent 38a40c9e16
commit b5ac45b197
2 changed files with 21 additions and 28 deletions

View File

@@ -1758,6 +1758,7 @@ class YoutubeDL(object):
def _check_formats(formats):
if not check_formats:
yield from formats
return
for f in formats:
self.to_screen('[info] Testing format %s' % f['format_id'])
temp_file = tempfile.NamedTemporaryFile(