diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2013-10-28 11:41:43 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2013-10-28 11:41:59 +0100 |
commit | 78a3a9f89ef4a9918c0e6dc854b99df9c2a94e4e (patch) | |
tree | d6cda10125a9754d53e095259e7a476979b90c23 /youtube_dl | |
parent | a7685f3bf4275bfc0f390146e4ac99139d5b96b9 (diff) |
Make "requested format not available" expected (#1655)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/YoutubeDL.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/YoutubeDL.py b/youtube_dl/YoutubeDL.py index 2a779373a..19dabef2d 100644 --- 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: |