url = 'https://kyfw.12306.cn/otn/leftTicket/query?leftTicketDTO.train_date={}&leftTicketDTO.from_station={}&leftTicketDTO.to_station={}&purpose_codes=ADULT'.format(date,from_station,to_station)
#发送查询请求
response = requests.get(url)
#将json类型数据转换为字典类型,方便通过键值对取用数据
result = response.json()
运行到最后一行(result = response.json())时程序自动退出,提示Process finished with exit code -1073740791 (0xC0000409)
这是为什么呢,在网上找的解答说内存不足,但是我调大内存后仍然没有解决问题,请求大拿帮我解答
相似问题