Program help to check the available slots in BBDC (Bukit Batok Driving Centre), and send notification to your phone by Telegram bot.
- 2023 April: The program is not working with the new BBDC page (find details here)
- Python3
- Docker (headless Chrome)
- Telegram Bot
$ docker pull selenium/standalone-chrome:94.0
$ git clone https://github.com/lizzzcai/bbdc-booking-bot.git
$ cd bbdc-booking-bot
# create virtual environment
$ python3 -m venv env
# activate the environment
$ source env/bin/activate
$ pip install -r requirement.txt
Follow this post to create your telegram bot
please fill in the followings in the config.yaml
Interval
of checking the slots (example: every 5 mins)- BBDC
username
andpassword
- Your wanted
sessions
- Telegram Bot
token
andchat_id
$ docker run --rm -d -p 4444:4444 --shm-size=2g selenium/standalone-chrome:94.0
$ python3 main.py