Replace %xx escapes with their single-octet equivalent, and return a bytes object.
urllib.parse.unquote_to_bytes(string)