快速qiangpiao程序
目前仅支持python2,仅支持微信支付,使用之前请详细阅读README.md
# 安装库依赖
pip install requests
pip install pillow
pip install qrcode
# 请确保你的requests是最新版的(老版本存在一些bug),如果不是最新版,用如下命令升级
pip install --upgrade requests
[logininfo]
username = 学校统一验证平台的邮箱
password = 你的密码
➜ ucas_rushBuy_ticket git:(master) ✗ python buyTicket.py
Hi, username: ***********
Password: ******************
Buy bus ticket system
Will use student number 2017E8018661119 to buy a bus ticket.
Login success
[1]:2017-09-28 Thursday
[2]:2017-09-29 Friday
[3]:2017-09-30 Saturday
[4]:2017-10-01 Sunday
hello **********,please choose the sequence number of the time to take the bus (1-4):
选择你要坐车的时间前面的序号,也就是1-4。
hello ******,please choose the sequence number of the time to take the bus (1-4):3
[1]:雁栖湖—玉泉路7:20(周末)
[2]:雁栖湖—奥运村7:20(周末)
[3]:雁栖湖—玉泉路13:00(周末)
[4]:雁栖湖—玉泉路15:40(周末)
[5]:玉泉路—雁栖湖6:30(周末)
[6]:玉泉路—雁栖湖10:00(周末)
[7]:玉泉路—雁栖湖15:00(周末)
[8]:奥运村—雁栖湖15:50(周末)
hello ************,please choose the sequence number of the route to take the bus (1-8):
跟上面一样,输入你要乘坐的路线前面的序号。
输入序号后,扫描终端中出现的二维码,进行支付。如果二维码在你的终端里显示的效果不是很好,
可以直接扫描目录下生成的bug.png