Bot that verifies if correction slots are to be found on a specific 42 school project.
Set environment
make env
Launch
make
Once launched, you will get the instructions.
This program uses selenium to launch a Firefox browser.
It will then refresh the page to find correction slots every 42 seconds and notify with a sound and eventually email when there is an available slot on the page.
It also shows progress in the terminal like so : .....!.
where .
means that there are no available slots and !
means the bot found a slot on the page.
- python selenium
# main part, actual bot
- python time
# waiting
- python chime
# for the sound notifications
- python signal
# for proper interruption handling
- python dotenv
# to keep track of email credentials in .env
- Firefox
# browser used by the bot
- geckodriver
# needed by Selenium