]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[extractor/common] Relax valid url check verbosity
authorSergey M․ <dstftw@gmail.com>
Sat, 16 May 2015 20:59:35 +0000 (02:59 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 16 May 2015 20:59:35 +0000 (02:59 +0600)
youtube_dl/extractor/common.py

index 65bb7708638a20a7e162c8ad8a06321434461ae6..cecf917ffb67040739bbacf573297ba891ec9ea1 100644 (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