[extractor/common] Relax valid url check verbosity

This commit is contained in:
Sergey M․ 2015-05-17 02:59:35 +06:00
parent 4d52f2eb7f
commit baa43cbaf0

View File

@ -786,8 +786,8 @@ def _is_valid_url(self, url, video_id, item='video'):
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