#ssl验证 r=requests.get('https://www.12306.cn',verify=False) print(r.content.decode('utf-8')) 结果: 转载于:https://www.cnblogs.com/smile502/p/10297620.html