Просмотр исходного кода

Make the downloader print the name of the destination file

Ricardo Garcia 17 лет назад
Родитель
Сommit
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