projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7685f3
)
Make "requested format not available" expected (#1655)
author
Philipp Hagemeister
<phihag@phihag.de>
Mon, 28 Oct 2013 10:41:43 +0000
(11:41 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Mon, 28 Oct 2013 10:41:59 +0000
(11:41 +0100)
youtube_dl/YoutubeDL.py
patch
|
blob
|
history
diff --git
a/youtube_dl/YoutubeDL.py
b/youtube_dl/YoutubeDL.py
index 2a779373a8ac1c51dc011c8c0467157dc4426bbd..19dabef2d012a9e9f678cc2bf1a649ab8714ec11 100644
(file)
--- a/
youtube_dl/YoutubeDL.py
+++ b/
youtube_dl/YoutubeDL.py
@@
-524,7
+524,8
@@
class YoutubeDL(object):
formats_to_download = [selected_format]
break
if not formats_to_download:
- raise ExtractorError(u'requested format not available')
+ raise ExtractorError(u'requested format not available',
+ expected=True)
if download:
if len(formats_to_download) > 1: