Note update possibility on errors (thanks @chbrown, #1229)
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 11 Aug 2013 04:46:24 +0000 (06:46 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 11 Aug 2013 04:46:24 +0000 (06:46 +0200)
youtube_dl/utils.py

index 59eeaf4a89084783e1ca2607840b3b7dfc4670f5..5dd5b2923d2a773a526006d71769d10486fe8730 100644 (file)
@@ -497,7 +497,7 @@ class ExtractorError(Exception):
         if sys.exc_info()[0] in (compat_urllib_error.URLError, socket.timeout, UnavailableVideoError):
             expected = True
         if not expected:
-            msg = msg + u'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.'
+            msg = msg + u'; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.'
         super(ExtractorError, self).__init__(msg)
 
         self.traceback = tb