网络传输将&转义为'&/;' import html url = '&a&b' new_url = html.unescape(url) print(new_url) # new_url = '&a&b'