aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-17 02:59:35 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-17 02:59:35 +0600
commitbaa43cbaf01a575eacb8e1bb39c7200f68c36daa (patch)
tree9fc5e0e8954bf0782885f4bb936d4b89f6961f55
parent4d52f2eb7f4b16ea5491f20abf0b29a1fcb24a02 (diff)
[extractor/common] Relax valid url check verbosity
-rw-r--r--youtube_dl/extractor/common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 65bb77086..cecf917ff 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -786,8 +786,8 @@ class InfoExtractor(object):
return True
except ExtractorError as e:
if isinstance(e.cause, compat_HTTPError):
- self.report_warning(
- '%s URL is invalid, skipping' % item, video_id)
+ self.to_screen(
+ '%s: %s URL is invalid, skipping' % (video_id, item))
return False
raise