Giter Site home page Giter Site logo

搶票程式無法使用 about tixcraft_bot HOT 4 CLOSED

Jizz5566 avatar Jizz5566 commented on July 18, 2024
搶票程式無法使用

from tixcraft_bot.

Comments (4)

CrazyRyan0812 avatar CrazyRyan0812 commented on July 18, 2024 1

我在Ubuntu 20.04環境,乾淨安裝過後,安裝完google chrome後,linux版本執行是非常正常的哦
我跟你用的是同一個版本的commit
我相信max大是有做過測試才會release哦
你要從原始碼去編譯你本來就應該要有能力去pip install那些缺失的套件阿,每台電腦的環境根本就不同啊@@,而且我的pip功能也是正常的,你自己在安裝過程是不是有出甚麼問題?

from tixcraft_bot.

Jizz5566 avatar Jizz5566 commented on July 18, 2024

補充 是使用 2d01130 這版commit

from tixcraft_bot.

max32002 avatar max32002 commented on July 18, 2024

恭喜你,只差最後幾個步驟,就可以成功地執行搶票程式的原始碼。

感謝你的回覆,已在專案的說明頁裡增加「透過原始碼的執行方法」的說明,請再參考看看。

1: download chromedrive to "webdriver" folder: http://chromedriver.chromium.org/downloads

change the chromedrive in chrome_tixcraft.py, source code: chromedriver_path =Root_Dir+ "webdriver/chromedriver" the default path is the script path + "webdriver/chromedriver", My suggestion is to create a new directory, then move the chromedrive under new folder.

2: pip install selenium or pip3 install selenium

3: python settings.py or python3 settings.py

PS: this script able to run in python2 or python3. (原始碼可以在python2 或 python3 下執行,請先確定你的python 執行環境下已安裝 selenium 或相關的套件,請參考 pip-reg.txt 檔案內容。還需要手動下載新版的 chromedrive 或 firefox drive(geckodriver), 建議在 source code 下建立一個 webdrive 的目錄,並把 chromedirve 的執行檔放進去,或是手動地修改 chrome_tixcraft.py 裡的 chromedriver_path 為你環境下能存取到 chromedrive 的路徑。最後透過 python 或 python3 執行 settings.py 就可以有 GUI 的設定界面。)

from tixcraft_bot.

max32002 avatar max32002 commented on July 18, 2024

猜測, 現在(2023-03-05) 應該是都沒問題了, 如果還會發生, 請再開新的問題(issue).

Goolge 登入的問題合併到 #3 討論.

Linux 的支援, 大多應該是OK, 但相容性與Windows/macOS 相較之下較差, 還有GUI 元件的 tkinter , 部份版本的Linux家族相容性較差, 驗證碼功能也可能會出問題, 還有問題的話, 請再開新的問題(issue).

from tixcraft_bot.

Related Issues (20)

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.