mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-07-03 20:42:53 -05:00
alias %(title)s to %(stitle)s
This commit is contained in:
@ -322,6 +322,7 @@ class FileDownloader(object):
|
||||
template_dict = dict(info_dict)
|
||||
template_dict['epoch'] = unicode(long(time.time()))
|
||||
template_dict['autonumber'] = unicode('%05d' % self._num_downloads)
|
||||
template_dict['title'] = template_dict['stitle'] # Keep both for backwards compatibility
|
||||
filename = self.params['outtmpl'] % template_dict
|
||||
return filename
|
||||
except (ValueError, KeyError), err:
|
||||
|
Reference in New Issue
Block a user