diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2012-11-25 15:57:57 -0800 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2012-11-25 15:57:57 -0800 |
commit | 6571408dc6a103cab4c26602475805a7e8be0b88 (patch) | |
tree | c36b5d9afe46d6f2c6da2989782b29e0f4455259 /youtube_dl/FileDownloader.py | |
parent | 5002aea371913e5094ba4cd6faba82a44be84f5e (diff) | |
parent | b6fab35b9f525cfb5a16e45d8412c6f24c7f621c (diff) |
Merge pull request #545 from FiloSottile/alias
Kill (alias) --literal and %(title)
Diffstat (limited to 'youtube_dl/FileDownloader.py')
-rw-r--r-- | youtube_dl/FileDownloader.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py index 4449fe711..08bd83354 100644 --- a/youtube_dl/FileDownloader.py +++ b/youtube_dl/FileDownloader.py @@ -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: |