henryhaohao / 12306_ticket Goto Github PK
View Code? Open in Web Editor NEW:rainbow:12306购票/取消订单/退票程序(2019-12-08最新版)
Home Page: https://kyfw.12306.cn/otn/leftTicket/init
:rainbow:12306购票/取消订单/退票程序(2019-12-08最新版)
Home Page: https://kyfw.12306.cn/otn/leftTicket/init
有没有详细点的命令
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
{'validateMessagesShowId': '_validatorMessage', 'status': True, 'httpstatus': 200, 'data': {'errMsg': '余票不足!', 'submitStatus': False}, 'messages': [], 'validateMessages': {}}
检查订单信息成功!
{'validateMessagesShowId': '_validatorMessage', 'status': False, 'httpstatus': 200, 'messages': ['系统繁忙,请稍后重试!'], 'validateMessages': {}}
查看余票数量失败!
怎么使用呢!我这小白不懂写的什么意思!
{'validateMessagesShowId': '_validatorMessage', 'status': True, 'httpstatus': 200, 'data': {'errMsg': '余票不足!', 'submitStatus': False}, 'messages': [], 'validateMessages': {}}
我是按照大佬的思路自己写的爬虫,然后头和data都是我一步步控制台抓包找的,应该没问题,然后刚刚看到有个人问题跟我一样,说是提交乘车人data少了一个字符串。。到底是哪个啊,求指导
12306的登陆接口是不是又更新了呢?
现在加上devici_id的cookie也还是返回302的状态
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.