From: Philipp Hagemeister Date: Mon, 28 Oct 2013 10:41:43 +0000 (+0100) Subject: Make "requested format not available" expected (#1655) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=78a3a9f89ef4a9918c0e6dc854b99df9c2a94e4e;p=youtube-dl.git Make "requested format not available" expected (#1655) --- 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: