链接(url)中不能有汉字,遇到汉字,需要使用quote转换之后使用

from urllib.parse import quote
name=quote("翻译")
print(name)

猜你喜欢

转载自www.cnblogs.com/canglongdao/p/11954355.html