Skip to content

Script to automatically book a vaccine slot on Doctolib for today or tomorrow, following rules from the French Government.

License

Notifications You must be signed in to change notification settings

YiSunny/doctoshotgun

 
 

Repository files navigation

DOCTOSHOTGUN

This script lets you automatically book a vaccine slot on Doctolib for today or tomorrow, following rules from the French Government.

Python dependencies

  • woob
  • cloudscraper
  • dateutil
  • termcolor

How to use it

Install dependencies:

pip install -r requirements.txt

Run:

./doctoshotgun.py <city> <email> [password]

For example:

$ ./doctoshotgun.py paris [email protected]
Password:
::: Trying to find a slot in Centre de Vaccination Covid 19 - Ville de Paris
::: Best slot found: Mon May 17 11:00:00 2021
::: Second shot: Fri Jun 25 15:20:00 2021
::: Booking for Roger Philibert...
::: Booking status: True
::: Booked!

You can also look for slot in multiple cities at the same time. Cities must be separated by commas.

Run:

./doctoshotgun.py <city1>,<city2>,<city3> <email> [password]

Development

Running tests

 $ pip install -r requirements-dev.txt
 $ pytest test_browser.py

About

Script to automatically book a vaccine slot on Doctolib for today or tomorrow, following rules from the French Government.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%