python爬虫爬取到的url中的&被转义为'&'

it2022-05-05  150

网络传输将&转义为’&/;’

import html url = '&a&b' new_url = html.unescape(url) print(new_url) # new_url = '&a&b'

最新回复(0)