This is a simple project that downloads media files (photos and videos) from the Procare daycare platform. It allows you to download media files for a specific date range and stores them in a local directory. Thanks to JWally for the JS code
- Python 3.x
- Dependencies:
- selenium
- requests
- tqdm
- mutagen
- piexif
- pyyaml
-
Clone this repository or download the source code.
-
Set up a virtual environment and activate it:
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
- Install the required dependencies:
pip install -r requirements.txt
-
Download the appropriate ChromeDriver executable for your system and place it in the
resources
directory. -
Create a
credentials.yml
file in the project root directory with your Procare username and password:
daycare:
username: your_username_here
password: your_password_here
Run the main.py
script to download media files:
python main.py
By default, the script will download media files from 2000-01-01
to the current date and save them in the ./photos
directory. You can change the start date, end date, media directory, and log directory by modifying the main()
function call in the if __name__ == "__main__"
block at the end of the main.py
file.