https://github.com/augustozanellato/vaxbot9000
Bot per controllare la disponibilità di appuntamenti per la vaccinazione Covid-19 in Veneto
https://github.com/augustozanellato/vaxbot9000
Last synced: 2 months ago
JSON representation
Bot per controllare la disponibilità di appuntamenti per la vaccinazione Covid-19 in Veneto
- Host: GitHub
- URL: https://github.com/augustozanellato/vaxbot9000
- Owner: augustozanellato
- Created: 2021-06-03T14:09:38.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T06:14:51.000Z (over 2 years ago)
- Last Synced: 2025-03-29T13:05:27.851Z (3 months ago)
- Language: Python
- Size: 55.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VaxBot9000
## Prerequisites
- Python 3.9
- [Poetry](https://python-poetry.org/)
### Browser spawning prerequisites
Needed only if the config key `spawn_new_browser_on_slot_found` is set to `true`
- [latest version of geckodriver](https://github.com/mozilla/geckodriver/releases/tag/v0.29.1)
- Firefox## Setup
1. `poetry install`
1. Copy `config.sample.toml` to `config.toml` and edit the following parameters:
- `az` your local ULSS (example `ulss6`)
- `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 to `scegliserv` called by the button's `onclick` attribute)
- `cf` your Italian fiscal code
- `num_team` last six digits of your TEAM card
- `use_tg` wheter to use Telegram to send notifications
- `tg_token` your Telegram bot token
- `tg_chat` your Telegram chat_id or the username of the channel where you wish to send the alerts
- `spawn_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`