Pārlūkot izejas kodu

Make the downloader print the name of the destination file

Ricardo Garcia 17 gadi atpakaļ
vecāks
revīzija
2130d8f6a4
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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