Simple Node.js cron that checks the Official Romanian Covid Vaccine platform for available slots in your area.
The romanian government introduced a waiting list feature which makes this script quite uselesss. There's no point in using this anymore.
Disclaimer:
I developed this bot for my personal usage and I will not be responding to issues or code-style comments. If you have any improvements, feel free to open a pull request and I'll be happy to accept your changes.
Usage:
- Clone this repo
npm install
- Change the PROFILE_DATA object in config.js with your data.
node app.js
The script will make a request every 30 seconds and it'll notify you once it finds an availble slot
In config.js you have an array named VACCINE_TYPES. Depending on your vaccine prefference insert the following values into it:
- 1 for Pfizer-BioNTech
- 2 for Moderna
- 3 for AstraZeneca*
Where do I get the data for the PROFILE_DATA object ?
This script is already extremly easy to setup and use therefore I'll let you figure that one on your own.
The initial request returns an HTML instead of a JSON and I get a weird error
Probably your config data is wrong. Make sure your cookie is valid.
How can we contribute ?
- Fork this repo
- Create a new branch on your fork
- Write your changes
- Follow this guide to open a pull request