Fix --break-per-url --max-downloads

This commit is contained in:
pukkandan
2022-08-24 08:00:13 +05:30
parent fe7866d0ed
commit fd404bec7e
3 changed files with 4 additions and 3 deletions

View File

@@ -3265,6 +3265,7 @@ class YoutubeDL:
self.to_screen(f'[info] {e}')
if not self.params.get('break_per_url'):
raise
self._num_downloads = 0
else:
if self.params.get('dump_single_json', False):
self.post_extract(res)