Skip to content

A feature-rich command-line audio/video downloader

Make the downloader print the name of the destination file

Ricardo Garcia2130d8f6a497
diff --git a/youtube-dl b/youtube-dl
index f3239781b8..0e56162206 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -228,6 +228,7 @@ class FileDownloader(object):
try:
filename = self._params['outtmpl'] % result
+ self.to_stdout('[download] Destination: %s' % filename)
except (ValueError, KeyError), err:
retcode = self.trouble('ERROR: invalid output template: %s' % str(err))
continue