diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 55f2fe02c0..1f60d34ae2 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -203,7 +203,7 @@ def replace_insane(char): if char == '?' or ord(char) < 32 or ord(char) == 127: return '' elif char == '"': - return '' if restricted else 'FOO\'' + return '' if restricted else '\'' elif char == ':': return '_-' if restricted else ' -' elif char in '\\/|*<>':