mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-20 19:42:59 +08:00
Make the downloader print the name of the destination file
This commit is contained in:
parent
e5bf0f551b
commit
2130d8f6a4
@ -228,6 +228,7 @@ class FileDownloader(object):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
filename = self._params['outtmpl'] % result
|
filename = self._params['outtmpl'] % result
|
||||||
|
self.to_stdout('[download] Destination: %s' % filename)
|
||||||
except (ValueError, KeyError), err:
|
except (ValueError, KeyError), err:
|
||||||
retcode = self.trouble('ERROR: invalid output template: %s' % str(err))
|
retcode = self.trouble('ERROR: invalid output template: %s' % str(err))
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user