Skip to content

Bot used to find a vaccine dose in France as quickly as possible.

License

Notifications You must be signed in to change notification settings

gregoiredelzongle/gregoubot-covid

Repository files navigation

Gregou Bot Covid

Send a notification and a link when a dose is available in chosen vaccine centers

A bot to get a chronodose vaccine in France using Doctolib, faster than ViteMaDose and tailored for your needs ! Based on this repo , but with more features :

  • Multi threaded requests
  • Run continuously
  • Apprise notifications

Setup

  1. Clone/Download this repository
  2. Install Python 3.8
  3. Go to your terminal/bash, go to the project folder and type pip install -r requirements.txt (or pipenv install if you want to use virtualenv)

Setup Notifications

The script use Apprise for notifications. You have to create a .config/apprise.conf file and setup your notifications preferences from there. I recommand using Telegram but you can use many more services listed here, for example SMS, desktop notifications, mail, Discord, etc ...

Example of what a .config/apprise.conf could look like, when setup with Telegram and Twilio :

...
tgram://12XXXXXX90:AXXXXXX-UsXXXXXXXXXXXXXXXXXXXgM/12XXXXX718

twilio://AXXXXXXXXXXXb:267XXXXXXXXXXXXXXXX6855c@13XXXXXX4/33XXXXXX41
...

Setup Centers

The script goes through selected centers and check for availability, so make sure you populate .config/centers.conf with vaccine centers (to add one, go to doctolib and copy the name of the center from the url.

Example :

https://www.doctolib.fr/centre-de-sante/saint-mande/centre-de-vaccinations-covid-saint-mande

When added to the .config/centers.conffile :

...
centre-de-vaccinations-covid-saint-mande
...

Optional settings

By default, script checks for updates every 60 seconds. You can change it on app.py here :

...
# Delay in seconds
DELAY_BETWEEN_CHECKS = 60
...

Usage

Run the script using python app.py inside the project folder using the terminal/bash

Output example :

Nombre de centres : 26
Nombre d'essais depuis le lancement du script : 34
Le centre centre-de-vaccination-grand-chambery n'a pas de rendez vous pour une 1ere injection de Pfizer ou Moderna
0 appointments available at Mairie du 8ème arrondissement de Paris - 3 Rue de Lisbonne, 75008 Paris
0 appointments available at  - 78 Rue Bonaparte, 75006 Paris
0 appointments available at Mairie du 9e - Centre de Vaccination Covid - 6 Rue Drouot, 75009 Paris
0 appointments available at Centre de Vaccination - Salle Olympe de Gouges - 15 Rue Merlin, 75011 Paris
0 appointments available at Centre de Vaccination - Centre Médical International - 38 Quai de Jemmapes, 75010 Paris
0 appointments available at Gymnase Camou - 37 Avenue de la Bourdonnais, 75007 Paris
Le centre centre-de-vaccination-covid-19-des-sapeurs-pompiers-de-paris n'a pas de rendez vous pour une 1ere injection de Pfizer ou Moderna
0 appointments available at Centre de santé Bauchat Nation - 22 Rue du Sergent Bauchat, 75012 Paris
0 appointments available at Centre de Vaccination - Centre Bertheau - 15-17 Rue Charles Bertheau, 75013 Paris

About

Bot used to find a vaccine dose in France as quickly as possible.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages