This is a tiny library to check regular for new appointments in Doctolib.
- Clone this project:
git clone https://github.com/SaschaKrug/doctolib.git
- Install Python 3.12
- Create a virtal environment:
python3 -m venv venv
- Install python dependencies:
pip install -r requirements.txt
- Install Playwright dependencies
playwright install
- Go to the Doctolib website (https://doctolib.de).
- Find and select the medical practice that corresponds to your needs.
- Once you are on the appointment overview page, open the Developer Tools by pressing F11 on your keyboard.
- In the Developer Tools, navigate to the Network tab.
- Refresh the page by reloading it.
- Look for a file named
availabilities.json
in the Network tab. - Click on the
availabilities.json
file to view its details. - Extract out of the URL of the file all parameters that are relevant for
main.py
:
- visit_motive_ids
- agenda_ids
- practice_ids
- telehealth
- Run the application:
python3 main.py