diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index 1322c3aaa6..eb266dda73 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -2166,7 +2166,7 @@ def sanitize_url(url): for mistake, fixup in COMMON_TYPOS: if re.match(mistake, url): return re.sub(mistake, fixup, url) - return url + return escape_url(url) def sanitized_Request(url, *args, **kwargs):