修复12306接口变更查询不到票务信息

pull/43/head
zhongxiaojun 6 years ago
parent 4920a01fa2
commit 6d9708768e

@ -156,7 +156,7 @@ urls = {
"is_json": True,
},
"select_url": { # 查询余票
"req_url": "/otn/leftTicket/query?leftTicketDTO.train_date={0}&leftTicketDTO.from_station={1}&leftTicketDTO.to_station={2}&purpose_codes=ADULT",
"req_url": "/otn/leftTicket/queryA?leftTicketDTO.train_date={0}&leftTicketDTO.from_station={1}&leftTicketDTO.to_station={2}&purpose_codes=ADULT",
"req_type": "get",
"Referer": "https://kyfw.12306.cn/otn/leftTicket/init",
"Host": "kyfw.12306.cn",

Loading…
Cancel
Save