Giter Club home page Giter Club logo

Comments (11)

XYZliang avatar XYZliang commented on May 28, 2024 1

排队成功后进行下单的代码是原来项目留下的我没怎么改动,可能会有问题。。
因为我这么久就没成功抢到过,没进过下单页面没法去修复哈哈。。
我尽量修复

from huawei-store-go.

highning avatar highning commented on May 28, 2024

排队成功后进行下单的代码是原来项目留下的我没怎么改动,可能会有问题。。
因为我这么久就没成功抢到过,没进过下单页面没法去修复哈哈。。
我尽量修复

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.

highning avatar highning commented on May 28, 2024

debug到 if BUY_URL == driver.current_url: 这一步就闪退了,没有进入后面的代码

def submitOrder(driver, user):
    time.sleep(1)
    if BUY_URL == driver.current_url:

from huawei-store-go.

XYZliang avatar XYZliang commented on May 28, 2024

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.

highning avatar highning commented on May 28, 2024

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.

CainLuo avatar CainLuo commented on May 28, 2024

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.

highning avatar highning commented on May 28, 2024

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.

XYZliang avatar XYZliang commented on May 28, 2024

说错了,3.2版。一样直接下载仓库就是

from huawei-store-go.

highning avatar highning commented on May 28, 2024

说错了,3.2版。一样直接下载仓库就是

3.2版本还是有同样的问题

from huawei-store-go.

superwars avatar superwars commented on May 28, 2024

请问老哥们这个问题现在解决了吗?

from huawei-store-go.

XYZliang avatar XYZliang commented on May 28, 2024

请问老哥们这个问题现在解决了吗?

我尝试过修复。。。。可是我没有抢成功过。。

from huawei-store-go.

Related Issues (11)

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.