projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18a25c5
)
Correct --max-downloads with --ignore-errors
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 23 Jan 2014 09:36:47 +0000
(10:36 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 23 Jan 2014 09:36:47 +0000
(10:36 +0100)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index a48e8ba23a34608072852dcb965640c55e5c37fc..f30bc090addaea51b830214244ec7351ff19e6f3 100644
(file)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-517,6
+517,8
@@
class YoutubeDL(object):
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()))