Giter VIP home page Giter VIP logo

damai's Introduction

DaMai

大麦网抢票

selenium

浏览器:谷歌
chromedriver下载地址:![http://chromedriver.storage.googleapis.com/index.html](http://chromedriver.storage.googleapis.com/index.html)  
操作系统:Mac OS
解压后执行命令,perl -pi -e 's/cdc_/dog_/g' /Applications/chromedriver,/Applications/chromedriver为解压后的位置
上述命令并未在Windows上测试,可能Windows需要自己安装perl

配置文件模版:

#用户信息
#username:登录名
#password:密码
[user]
username=xxxxxx
password=xxxxxx

#用户抢票信息
#price:价位,在网页中显示的价格顺序(网页中价格默认从低到高),从1开始,即如果买最低价的票,该值设置为1,如果买比最低价高一价位的票,则设置2,以此类推
#start_time:演唱会时间,如果有多个时间可选,则设置模式如上,以此类推
#total:抢票数目,如果超过网页中限制的最大值,则会被设置成系统允许的最大值
#auto_upgrade:如果当前价位档次票没抢到,是否自动升级一个价位,抢比当前价位高一个价位的票
[ticket]
price=4
start_time=1
total=2
star=张信哲
address=长沙
auto_upgrade=True

相关讲解博客

damai's People

Contributors

whisperloli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.