Browse Source

Add a note on MaxDownloadsReached (#732, thanks to CBGoodBuddy)

rtmp_test
Philipp Hagemeister 12 years ago
parent
commit
a91556fd74
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      youtube_dl/FileDownloader.py

+ 3
- 0
youtube_dl/FileDownloader.py View File

@ -548,6 +548,9 @@ class FileDownloader(object):
except ExtractorError as de: # An error we somewhat expected
self.trouble(u'ERROR: ' + compat_str(de), de.format_traceback())
break
except MaxDownloadsReached:
self.to_screen(u'[info] Maximum number of downloaded files reached.')
raise
except Exception as e:
if self.params.get('ignoreerrors', False):
self.trouble(u'ERROR: ' + compat_str(e), tb=compat_str(traceback.format_exc()))


Loading…
Cancel
Save