use selenium to redirect to www.urbtix.hk
遇到網址是 busy.urbtix.hk 或 msg.urbtix.hk 改連到 www.urbtix.hk。
- Scroll down for English documentation.
pip install selenium
而且你需要下載 chromedriver
python max_urbtix_busy.py
或
python3 max_urbtix_busy.py
附註:沒有寫的很好,很多地方應該可以模組化。
Selenium 使用 Chrome 瀏覽器 webdriver
https://stackoverflow.max-everyday.com/2018/03/selenium-chrome-webdriver/
https://www.youtube.com/watch?v=RQ2Zr3VadbI
pip install selenium
and you need download chromedriver
python max_urbtix_busy.py
或
python3 max_urbtix_busy.py