再获取到url地址后,使用unquote进行转译即可 from urllib.parse import unquote url_name= unquote(url_name, encoding="utf8")