Comments (11)
排队成功后进行下单的代码是原来项目留下的我没怎么改动,可能会有问题。。
因为我这么久就没成功抢到过,没进过下单页面没法去修复哈哈。。
我尽量修复
from huawei-store-go.
排队成功后进行下单的代码是原来项目留下的我没怎么改动,可能会有问题。。
因为我这么久就没成功抢到过,没进过下单页面没法去修复哈哈。。
我尽量修复
3.2版本问题依旧存在
2021-03-03 10:06:[email protected]即将开始抢购,程序启动
2021-03-03 10:07:[email protected]可以开始申购,立即申购
[email protected]开始排队:2021-03-03 10:07:00
2021-03-03 10:08:[email protected]:排队中
2021-03-03 10:08:[email protected]:排队中
Exception in thread Thread-1:
Traceback (most recent call last):
File "D:\Python\Python39\lib\threading.py", line 954, in _bootstrap_inner
self.run()
File "D:\Python\Python39\lib\threading.py", line 892, in run
self._target(*self._args, **self.kwargs)
File "E:\Downloads\HUAWEI-STORE-GO-main\HUAWEI STORE GO.py", line 324, in loginMall
goToBuy(driver, user)
File "E:\Downloads\HUAWEI-STORE-GO-main\HUAWEI STORE GO.py", line 246, in goToBuy
onQueue(driver, user)
File "E:\Downloads\HUAWEI-STORE-GO-main\HUAWEI STORE GO.py", line 77, in onQueue
errorbutton = driver.find_element_by_id("boxCloseBtn")
File "D:\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 360, in find_element_by_id
return self.find_element(by=By.ID, value=id)
File "D:\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 976, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "D:\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "D:\Python\Python39\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="boxCloseBtn"]"}
(Session info: chrome=88.0.4324.190)
Process finished with exit code 0
到了订单确认界面后浏览器闪退,想手动确认订单都做不到了
from huawei-store-go.
debug到 if BUY_URL == driver.current_url: 这一步就闪退了,没有进入后面的代码
def submitOrder(driver, user):
time.sleep(1)
if BUY_URL == driver.current_url:
from huawei-store-go.
debug到if BUY_URL == driver.current_url:这一步就闪退了,没有进入后面的代码
def submitOrder(driver, user): time.sleep(1) if BUY_URL == driver.current_url:
这个在3.3版本已经修复了,建议下载最新的脚本看看哦
from huawei-store-go.
debug到if BUY_URL == driver.current_url:这一步就闪退了,没有进入后面的代码
def submitOrder(driver, user): time.sleep(1) if BUY_URL == driver.current_url:
这个在3.3版本已经修复了,建议下载最新的脚本看看哦
没看到3.3的版本啊。。。
from huawei-store-go.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/Users/cainluo/Desktop/Personal Project/HUAWEI-STORE-GO/HUAWEI STORE GO.py", line 324, in loginMall
goToBuy(driver, user)
File "/Users/cainluo/Desktop/Personal Project/HUAWEI-STORE-GO/HUAWEI STORE GO.py", line 178, in goToBuy
text = driver.find_elements_by_xpath(
IndexError: list index out of range
貌似我也遇到这个问题了 @XYZliang
from huawei-store-go.
debug到if BUY_URL == driver.current_url:这一步就闪退了,没有进入后面的代码
def submitOrder(driver, user): time.sleep(1) if BUY_URL == driver.current_url:
这个在3.3版本已经修复了,建议下载最新的脚本看看哦
3.3的版本还没有出哦,怎么下载? @XYZliang
from huawei-store-go.
说错了,3.2版。一样直接下载仓库就是
from huawei-store-go.
说错了,3.2版。一样直接下载仓库就是
3.2版本还是有同样的问题
from huawei-store-go.
请问老哥们这个问题现在解决了吗?
from huawei-store-go.
请问老哥们这个问题现在解决了吗?
我尝试过修复。。。。可是我没有抢成功过。。
from huawei-store-go.
Related Issues (11)
- 运行的时候出现 HOT 10
- readme里面版本日期是不是写错了? HOT 2
- 这么久有抢到吗? HOT 2
- 写的啥哦 HOT 2
- 倒计时结束以后没获取到按钮(再运行有了但就要排队了。。) HOT 1
- 帅哥,为什么下载了包后,解压报错了 HOT 6
- 报错 HOT 2
- 发生报错 HOT 3
- HUAWEI STORE GO.py V3.1 登录问题 HOT 2
- 开始抢购后报错 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from huawei-store-go.