Support downloading Youtube videos via tube.majestyc.net
[youtube-dl] / youtube_dl / FileDownloader.py
index 63b29a837c2cac0710329eaa6e3ab1cf38639b61..14e872a98a922606b8a3f3ea15a9d3d61ef87274 100644 (file)
@@ -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)