1
0
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-21 17:07:28 +00:00

[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 @@ 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