VaxBot9000
Prerequisites
- Python 3.9
- Poetry
- latest version of geckodriver
- Firefox
Setup
poetry install
- Copy
config.sample.toml
toconfig.toml
and edit the following parameters:az
your local ULSS (exampleulss6
)service_id
service code you're interested in (can be found by initiating a reservation and when you're asked to choose a service you inspect the service button and check what's the argument toscegliserv
called by the button'sonclick
attribute)cf
your Italian fiscal codenum_team
last six digits of your TEAM carduse_tg
wheter to use Telegram to send notificationstg_token
your Telegram bot tokentg_chat
your Telegram chat_id or the username of the channel where you wish to send the alertsspawn_new_browser_on_slot_found
wheter to spawn a new browser window every time a slot is found. WARNING: this can get pretty chaotic
Running
poetry run python -m vaxbot