mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:42:30 +00:00
Correct --max-downloads with --ignore-errors
This commit is contained in:
parent
18a25c5d78
commit
d3e5bbf437
@ -517,6 +517,8 @@ def extract_info(self, url, download=True, ie_key=None, extra_info={},
|
||||
except ExtractorError as de: # An error we somewhat expected
|
||||
self.report_error(compat_str(de), de.format_traceback())
|
||||
break
|
||||
except MaxDownloadsReached:
|
||||
raise
|
||||
except Exception as e:
|
||||
if self.params.get('ignoreerrors', False):
|
||||
self.report_error(compat_str(e), tb=compat_str(traceback.format_exc()))
|
||||
|
Loading…
Reference in New Issue
Block a user