Skip to content

diw1/Automatic_ticket_purchase

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

大麦网演唱会抢票程序---参考自github 作者:MakiNaruto 地址:https://github.com/MakiNaruto/Automatic_ticket_purchase 对该源码做了稍许修改,去掉了多余的依赖文件,直接修改代码里的购买页地址、关键人信息即可进行抢票。

准备工具

  • Python3.6
  • Selenium
  • 本人用的chrome浏览器(可以改用火狐、IE等),需要下载ChromeDriver包及配置 http://chromedriver.storage.googleapis.com/index.html
  • 根据你用的chrome版本,自行寻找对应的chromeDrive包,并替换已有的chromedriver版本
  • 请自己填写你的特权码
  • 自行寻找使用方法,这里不就不细述了。

最后成功测试运行时间:2019-05-08。此方法太过于依赖页面源码的元素ID、xpath、class,若相应的绝对路径寻找不到会出现问题。建议自己先测试一遍,自行定位相应的绝对路径或用更好的定位方法替代。

About

基于python3的大麦网抢票器

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%