mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 14:24:03 -07:00
add ascii title to title format
This commit is contained in:
parent
d479e34043
commit
909a247bbc
1 changed files with 1 additions and 0 deletions
|
@ -351,6 +351,7 @@ class FileDownloader(object):
|
||||||
"""Process a single dictionary returned by an InfoExtractor."""
|
"""Process a single dictionary returned by an InfoExtractor."""
|
||||||
|
|
||||||
info_dict['stitle'] = sanitize_filename(info_dict['title'], self.params.get('restrictfilenames'))
|
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)
|
reason = self._match_entry(info_dict)
|
||||||
if reason is not None:
|
if reason is not None:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue