Remove sanitize_title #113

Closed
opened 2026-02-20 22:25:44 -05:00 by deekerman · 0 comments
Owner

Originally created by @phihag on GitHub (Sep 15, 2011).

Currently, each extractor calls sanitize_title in it's own and even makes up its own stitle. We should do both steps in process_info for all extractors.

title should be the original title (and we can assert isinstance(title, unicode)).
sanitized_title should be a title one can use in file names (i.e. without slash, and on Windows, without multiple RTL/LTR marks)
We can then make up a simplified title ascii_title for maximum compatibility.

Originally created by @phihag on GitHub (Sep 15, 2011). Currently, each extractor calls sanitize_title in it's own and even makes up its own `stitle`. We should do both steps in `process_info` for all extractors. `title` should be the original title (and we can `assert isinstance(title, unicode)`). `sanitized_title` should be a title one can use in file names (i.e. without slash, and on Windows, without multiple RTL/LTR marks) We can then make up a simplified title `ascii_title` for maximum compatibility.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#113
No description provided.