X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2FFileDownloader.py;h=14e872a98a922606b8a3f3ea15a9d3d61ef87274;hb=65dc7d027278d93b4a760dcbf6d19067fb8ff85d;hp=63b29a837c2cac0710329eaa6e3ab1cf38639b61;hpb=58ca755f4062146fbb9ce9d4383f033b8a631ed0;p=youtube-dl.git diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py index 63b29a837..14e872a98 100644 --- a/youtube_dl/FileDownloader.py +++ b/youtube_dl/FileDownloader.py @@ -14,7 +14,7 @@ import urllib2 if os.name == 'nt': import ctypes -from Utils import * +from utils import * class FileDownloader(object): @@ -344,6 +344,8 @@ class FileDownloader(object): def process_info(self, info_dict): """Process a single dictionary returned by an InfoExtractor.""" + info_dict['stitle'] = sanitize_filename(info_dict['title']) + reason = self._match_entry(info_dict) if reason is not None: self.to_screen(u'[download] ' + reason)