mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	reorganized the titles sanitizing: now title is the untouched title
and stitle is created in process_info() and is cross-filesystem sanitized by sanitize_filename(); closes #164
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Filippo Valsorda
					Filippo Valsorda