Initial version.

This commit is contained in:
2025-09-23 13:08:29 -04:00
parent 968afb7aa4
commit 63695ae6c5
2 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,18 @@
# procare-rip-photos # procare-rip-photos
Script to rip photos from Procare. Script to rip photos from Procare.
To rip photos:
1. Login to Procare using your parent account.
2. Navigate to your "Dashboard".
3. Click on "Photos/Videos".
4. Select the time period you want to rip.
5. Save the webpage to `~/Downloads/Procare.html`. (Save entire webpage.)
6. Open a Unix shell (BASH, TCSH, etc.)
7. Navigate to where you want to save the photos (e.g.: `cd ~/Photos/`)
8. Run the script (`~/procare-rip-photos/rip-photos.sh`)
9. Enjoy
### Notes
The script will create or overwrite the script `~/Downloads/get-it`.

6
rip-photos.sh Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
grep 'download=' ~/Downloads/Procare.html | sed -e 's/target="_blank>.*$//' -e 's/.*download="//' -e 's/ href=".*$//' -e 's/\&amp\;/\&/g' -e 's;\(.*main/\)\(.*\.jpg\)\(.*$\);wget -c "\1\2\3 -O \2;' | sort | uniq > ~/Downloads/get-it
chmod +x ~/Downloads/get-it
~/Downloads/get-it