Explorar o código

Make the downloader print the name of the destination file

Ricardo Garcia %!s(int64=17) %!d(string=hai) anos
pai
achega
2130d8f6a4
Modificáronse 1 ficheiros con 1 adicións e 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