summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Garcia <sarbalap+freshmeat@gmail.com>2008-07-22 15:53:22 +0200
committerRicardo Garcia <devnull@localhost>2008-07-22 15:53:22 +0200
commit2130d8f6a497ca6219d4b3979cc5dcc6845827fc (patch)
treef3735baa230983223809881aaf4468a883c4dfe8
parente5bf0f551bbd3f4f939d48da0a81d32df11ec3da (diff)
downloadyoutube-dl-2130d8f6a497ca6219d4b3979cc5dcc6845827fc.tar.gz
youtube-dl-2130d8f6a497ca6219d4b3979cc5dcc6845827fc.tar.xz
youtube-dl-2130d8f6a497ca6219d4b3979cc5dcc6845827fc.zip
Make the downloader print the name of the destination file
-rwxr-xr-xyoutube-dl1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube-dl b/youtube-dl
index f3239781b..0e5616220 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