projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1447f72
)
Add a note on MaxDownloadsReached (#732, thanks to CBGoodBuddy)
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 28 Mar 2013 23:19:58 +0000
(
00:19
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 28 Mar 2013 23:20:13 +0000
(
00:20
+0100)
youtube_dl/FileDownloader.py
patch
|
blob
|
history
diff --git
a/youtube_dl/FileDownloader.py
b/youtube_dl/FileDownloader.py
index 725d4a0160388b3faa8c7a5b09cc83a8726170f8..96130152ddd5d0855d2eed96e11c6cd41d0fb29c 100644
(file)
--- 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 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()))