Git Product home page Git Product logo

damai_book_ticket's Introduction

大麦网自动抢票脚本

现在正式支持抢多张票

说起来也是机缘巧合,不知道以前什么时候,在哪里用的脚本,现在刚好翻了出来,不出意外不能用,简简单单修补一下,诶,又可以用了。
如果该项目侵犯到您的权益,请联系我

使用方法:

1. 更改config.conf文件里面的信息,指定你的抢票需求。

image-20240725231435962

参数
account 不需要填写
password 同上
nick_name 同上
book_url 订票网页地址
session 场次(可多选)
price 票价(可多选)
name_num 买几张
who 如有,选择订单信息页哪些人的信息买票
num 抢票最大尝试次数
date_time 定时开始抢票
driver_path chromedriver驱动的所在位置

2. 运行main.py脚本执行任务

第一次登录会让你登录,扫码登录即可。

注意,登录有时限,记得在用以前cookie的时候提前打开脚本测试有没有同步登录状态。 即便还没有开始抢票,也能根据弹出的浏览器查看是否已经登录上了。

如果前面配置的信息没错,而且,你的电脑时间是精准的!!!!!(这点很重要!!!)

想要查看时间的准确性,可以去time.is查看与标准时间的误差。

建议你可以用一个冷们场次测试一下信息是否准确并且程序是否被网站和谐。

image-20240725232425385

3. enjoy

damai_book_ticket's People

Contributors

systemannounce 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.