jnumxin / damaiauto Goto Github PK
View Code? Open in Web Editor NEW基于python和selenium实现的大麦网自动刷新抢票脚本
基于python和selenium实现的大麦网自动刷新抢票脚本
请问 chromedriver.exe
选择哪个版本?
网页源码部分//*[@id="priceList"]/div/ul/li[2] 对应的是“加载中,请稍后...”,请问是如何发现选择价格方式的
因为前面选择演出时间、选座购买,现在的代码都无法运行,需要自己改写解决,都涉及这个问题,望解答
我的例子是https://piao.damai.cn/147561.html?spm=a2o6e.home_hz.0.0.523660d1j8Lan4
求教
选座购票貌似仅仅这种方式实现不了的,选座界面用到了flash,可能需要AutoIt之类的一起操作,请问您有使用什么方法试过吗
File "J:/大麦抢票/damaiAuto-master/damai.py", line 6
rom selenium import webdriver
^
SyntaxError: invalid syntax
Process finished with exit code 1
大佬这个错误 它自动打开了网页但是不能进行点击操作啊
Traceback (most recent call last):
File "D:\1.py", line 6, in
import requests
ModuleNotFoundError: No module named 'requests'
我是windows版的python 3.62,然后用pip安装的selenium。
代码里面登陆的地方,input id还是login_email,但是现在的大麦网的登陆页面,已经找不到id是login_email的input了。而且现在大麦网好像增加了反机器人机制,如果检查到是browser automation tool在操作,登陆按钮前面会有个滚动条,但是就算你收到滑动到右边,还是会显示失败的。
chromedriver弹出来之后就没办法接着往下进行点击操作了
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.