From: Philipp Hagemeister Date: Sun, 6 Oct 2013 14:03:18 +0000 (+0200) Subject: [generic] Clarify error messages X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=e484c81f0c0a6faf959037ac03b504e4794d72df;p=youtube-dl [generic] Clarify error messages --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 764070635..7060c6f92 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -117,7 +117,7 @@ class GenericIE(InfoExtractor): except ValueError: # since this is the last-resort InfoExtractor, if # this error is thrown, it'll be thrown here - raise ExtractorError(u'Invalid URL: %s' % url) + raise ExtractorError(u'Failed to download URL: %s' % url) self.report_extraction(video_id) # Look for BrightCove: @@ -149,12 +149,12 @@ class GenericIE(InfoExtractor): # HTML5 video mobj = re.search(r'.*?