A feature-rich command-line audio/video downloader
Add a note on MaxDownloadsReached (#732, thanks to CBGoodBuddy)
Philipp Hagemeistera91556fd74ad
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.pyindex 725d4a0160..96130152dd 100644--- a/youtube_dl/FileDownloader.py+++ b/youtube_dl/FileDownloader.py@@ -548,6 +548,9 @@ class FileDownloader(object):except ExtractorError as de: # An error we somewhat expectedself.trouble(u'ERROR: ' + compat_str(de), de.format_traceback())break+ except MaxDownloadsReached:+ self.to_screen(u'[info] Maximum number of downloaded files reached.')+ raiseexcept Exception as e:if self.params.get('ignoreerrors', False):self.trouble(u'ERROR: ' + compat_str(e), tb=compat_str(traceback.format_exc()))