Explorar el Código

Make the downloader print the name of the destination file

Ricardo Garcia hace 17 años
padre
commit
2130d8f6a4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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