entromorgan / autoticket Goto Github PK
View Code? Open in Web Editor NEW大麦网自动抢票工具
License: MIT License
大麦网自动抢票工具
License: MIT License
已经8020年了,可否支持一下最新版本的Chrome?
PS H:\ticket\Autoticket-master> python Autoticket.py
Traceback (most recent call last):
File "Autoticket.py", line 8, in
from selenium import webdriver
ImportError: No module named selenium
PS H:\ticket\Autoticket-master> pip install selenium
Requirement already satisfied: selenium in d:\software\python\lib\site-packages (3.141.0)
Requirement already satisfied: urllib3 in d:\software\python\lib\site-packages (from selenium) (1.25.8)
他说没有selenium,然后我安装了啊,这个怎么解决?
如题,很多火爆的演出都只有APP上能购买(网页无法购买),可能是使用的是不同接口,考不考虑支持购买APP上的门票
测试的时候都正常,实际抢的时候到点崩溃了,不知道啥原因
MAC Python 3.7.2, 报的这个错,我尝试使用谷歌浏览器,webdriver.Chrome()解决了。
借鉴项目的代码,针对采购的网址,重定位calss属性,进行操作。
控件描述一直发生变更。
所以针对每个订单进行修改。但是,在登录阶段经常无法登录。
请问,是否有这个情况和问题。
此外,学习群加满了。。。有二群不。
https://piao.damai.cn/178826.html?spm=a2o6e.11081723.1329302258.dcarditem_0.40593a038N18CT
像这种如果要改 是改里面那些element吗 大神有空可以帮忙试试吗 我是搞测试的 但是难搞T T
大佬你好,我是小白一枚,下载python3.7并配置环境变量后运行Autoticket.py闪退了,怎么办啊
你好,请问我运行程序然后再手机上扫码登录后,虽然登录了进去,但是程序就停了,并且弹出上面这个报错是什么原因呢。尝试了多次都是同样的结果。如果博主不介意的话也可以加个微信聊聊:15217451052
你好,我改了下多张票的代码,简单试了下好像能用
`ticket_limit = self.driver.find_element_by_class_name('number_right_limit')
print('{}'.format(ticket_limit.text))
print('设定购买{}张'.format(self.ticket_num))
if self.ticket_num > 1:# 自动添加购票数
add = self.driver.find_element_by_class_name('cafe-c-input-number-handler-up')
while add.is_displayed() != True: # 等待显示
continue
for i in range(self.ticket_num-1):
add.click() `
刷新一切正常,且在有票的演唱会测试购票也正常,但是,今天抢刘天王的票时,放票一瞬间,直接跳到人数过多排队页面,然后就一瞬间,直接闪退,接着程序报错,崩溃呀当时。希望改进下!
改动的只有config.json里面的内容吧,我改了一点,运行了一半,抢票过程中闪退了
错误:实名信息框未显示,请检查网络或配置文件
然后就自动退出了
但是正常手动进去是正常的
大佬你好,我是小白,我下载了python3.7,并配置了环境变量,然后右键去运行你那个Autoticket.py直接闪退了。怎么办啊
Message: The element reference of
多启动几个线程跑,都抢不到。
大佬你好,我是小白一枚,下载python3.7并配置环境变量后运行Autoticket.py闪退了,怎么办啊
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.