[utils] Sanitize look-alike Unicode glyphs in non-ID filename fields when --restrict...
authordirkf <fieldhouse@gmx.net>
Tue, 11 Oct 2022 12:18:12 +0000 (12:18 +0000)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2022 12:18:12 +0000 (12:18 +0000)
commitc94a459a248352fd97dccc79ed6604a558459bfd
tree03fb6ac8458fb27d5bcf16d399d7d9252797f4e1
parent6e2626f092c63a5fa22a31df409610b5deaf3968
[utils] Sanitize look-alike Unicode glyphs in non-ID filename fields when --restrict-filenames

Implements https://github.com/ytdl-org/youtube-dl/issues/31216#issuecomment-1236102822, which has a test.
youtube_dl/utils.py