Update README.md

master
Max 2023-02-05 17:40:36 +08:00 committed by GitHub
parent 9371ff2295
commit b9b301c996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -133,6 +133,8 @@ PS:
* 如果你是使用 macOS 並且執行環境沒有 python3請 python 官方網站([https://www.python.org/downloads/](https://www.python.org/downloads/))來安裝 python3, 如果在 macOS 裡會使用終端機(Terminal),建議使用 https://brew.sh/ 安裝 python3. * 如果你是使用 macOS 並且執行環境沒有 python3請 python 官方網站([https://www.python.org/downloads/](https://www.python.org/downloads/))來安裝 python3, 如果在 macOS 裡會使用終端機(Terminal),建議使用 https://brew.sh/ 安裝 python3.
* 如果你是使用 Firefox, ChromeDriver 的元件是叫 geckodriver下載點在https://github.com/mozilla/geckodriver/releases ,與 ChromeDriver 的處理方式是一樣,如果是 mac 電腦要在元件按右鍵開啟做一次授權的動作mac 有2個版本-macos.tar.gz 與 -macos-aarch64.tar.gz ,如果是 intel CPU 的版本,請服用前面沒有 aarch64 的版本。 * 如果你是使用 Firefox, ChromeDriver 的元件是叫 geckodriver下載點在https://github.com/mozilla/geckodriver/releases ,與 ChromeDriver 的處理方式是一樣,如果是 mac 電腦要在元件按右鍵開啟做一次授權的動作mac 有2個版本-macos.tar.gz 與 -macos-aarch64.tar.gz ,如果是 intel CPU 的版本,請服用前面沒有 aarch64 的版本。
PS搶票程式可以多開chrome瀏覽器如果你電腦效能高。
# Introduce the implement (實作方法) # Introduce the implement (實作方法)
https://stackoverflow.max-everyday.com/2018/03/selenium-chrome-webdriver/ https://stackoverflow.max-everyday.com/2018/03/selenium-chrome-webdriver/
@ -147,6 +149,13 @@ please run this source code with high performance hardware computer and high spe
https://github.com/sml2h3/ddddocr https://github.com/sml2h3/ddddocr
附註:
* macOS 新的電腦 arm 系列, 暫時沒有提供自動輸入驗證碼功能, 使用上的限制和 ddddocr 相同.
* macOS 舊款intel CPU 的電腦裡的 python 版本要降到低於等於 3.9 版, 例如: https://www.python.org/ftp/python/3.9.13/python-3.9.13-macosx10.9.pkg .
* 猜測驗證碼時比較容易出錯的是字英 f 和 t還有 q 和 g, v 和 u 還有 w.
* 猜測驗證碼必錯的情況是目前不允許有重覆的2個字母出來。
想自動輸入驗證碼可以參考看看實作基於CNN的台鐵訂票驗證碼辨識以及透過模仿及資料增強的訓練集產生器 (Simple captcha solver based on CNN and a training set generator by imitating the style of captcha and data augmentation) 想自動輸入驗證碼可以參考看看實作基於CNN的台鐵訂票驗證碼辨識以及透過模仿及資料增強的訓練集產生器 (Simple captcha solver based on CNN and a training set generator by imitating the style of captcha and data augmentation)
https://github.com/JasonLiTW/simple-railway-captcha-solver https://github.com/JasonLiTW/simple-railway-captcha-solver