mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 11:42:43 +01:00
[extractor/common] Relax valid url check verbosity
This commit is contained in:
parent
4d52f2eb7f
commit
baa43cbaf0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user