Shell script to download all memories from Kidreports
Linux-like system with the ability to run a shell script. Curl must also be installed.
- Download or clone this repository
- Open the
cookie_file
file using a text editor - Login to Kidreports https://secure.kidreports.com/login
- Once logged in and using Google Chrome, right click anywhere on the page, and select
Inspect
- On the newly opened developer tools pane, select the
Console
tab - In the console type
document.cookie
followed by the enter key - Copy the retured value to the
cookie_file
, making sure that the start of the line begins withCookie:
+ returned value and that no additional newlines have been added - Save and Close
cookie_file
- Open the
kidreprots-memories.sh
script using your favorite text editor - Modify the values for
START_MONTH
,START_YEAR
,END_MONTH
, andEND_YEAR
with the dates you would like to download the memories from - Save and Close
kidreprots-memories.sh
- In a linux terminal, change the directory to the one where the script is saved
- Add the execute flag to the script using
chmod +x kidreports-memories.sh
- Run the scrip by typing
./kidreports-memories.sh
- The script will take several minutes to download each memory zip file
- Memories will be downloaded to the same folder as the script
- Using your favorite archive program unzip all the pictures and enjoy!