Max
Max
Selenium 4.13 does not support headless methods, it's why you got this error message: ``` undetected_chromedriver\__init__.py", line 398, in __init__ if headless or options.headless: AttributeError: 'ChromeOptions' object has no attribute...
downgrade selenium to 4.11.2.
https://github.com/ultrafunkamsterdam/undetected-chromedriver/discussions/1594 https://github.com/FlareSolverr/FlareSolverrv https://github.com/g1879/DrissionPage
almost selenium and webdriver will face thie same problem, please google keyword: "Selenium Google Login Block".
因為Google 的 reCaptcha 檢測到正在使用機器人,所以目前暫時要先跟快達票說bye-bye, 等機器人可以避開被 reCaptcha 檢測到之後,再回來支援。
hkticketing.com 前陣子有支援. 先關掉這個issue, 有問題, 歡迎再開新issue.
猜測, 現在(2023-03-05) 應該是都沒問題了, 如果還會發生, 請再開新的問題(issue). Goolge 登入的問題合併到 #3 討論. Linux 的支援, 大多應該是OK, 但相容性與Windows/macOS 相較之下較差, 還有GUI 元件的 tkinter , 部份版本的Linux家族相容性較差, 驗證碼功能也可能會出問題, 還有問題的話, 請再開新的問題(issue).
合併問題到: https://github.com/max32002/tixcraft_bot/issues/3
相關討論, 合併到 https://github.com/max32002/tixcraft_bot/issues/3
請參考這部影片的解法, 透過原始碼執行MaxBot教學影片: https://youtu.be/HpVG91j0lbI Step 1: 取得source code: `git clone https://github.com/max32002/tixcraft_bot.git` Step 2: 進入 clone 的資料夾: tixcraft_bot: `cd tixcraft_bot ` Step 3: 安裝第三方套件: `python3 -m pip install -r pip-req.txt` Step 4:...