浏览代码

Make the downloader print the name of the destination file

Ricardo Garcia 17 年之前
父节点
当前提交
2130d8f6a4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      youtube-dl

+ 1 - 0
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