n = response.url
# print(n.replace('index', 'Contact')) # 替换指定字符串
url = n.replace('index', 'Contact')
替换指定字符串
猜你喜欢
转载自blog.csdn.net/xiaolute/article/details/89878662
今日推荐
周排行