自动访问12306抓取余票数据,若有余票将发送邮件
使用帮助:
python 12306.py -h
参数说明:
- -f 必选参数,出发地,例如:福州
- -t 必选参数,目的地,例如:杭州
- -d 必选参数,日期,格式:2017-01-20
- -n 可选参数,指定车次,逗号分隔,例如:D3343,G366
- -s 可选参数,指定坐席,逗号分隔,例如:二等座,无座
示例:
python 12306.py -f 福州 -t 杭州 -d 2017-01-20
12306余票查询和提醒脚本
info = result.json()
会报"网络可能存在问题,请您重试一下!"的错误
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.