mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 23:47:24 +08:00
add ascii title to title format
This commit is contained in:
parent
d479e34043
commit
909a247bbc
@ -351,6 +351,7 @@ class FileDownloader(object):
|
||||
"""Process a single dictionary returned by an InfoExtractor."""
|
||||
|
||||
info_dict['stitle'] = sanitize_filename(info_dict['title'], self.params.get('restrictfilenames'))
|
||||
info_dict['atitle'] = info_dict['stitle'].encode('ascii', 'ignore')
|
||||
|
||||
reason = self._match_entry(info_dict)
|
||||
if reason is not None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user