How to download photos from classdojo app
Since I have multiple kids and multi-year historical data, I added a prefix to the downloaded file, so that it looks like "Teacher name - Class name - Post date-filename. I have tried the different scripts and it either does not work or only downloads a 4 images. Nothing else. The code works very well for me thanks. Would it be possible to add to it so it renames other files such as. For example, on May 12, , my kid's post has 10 images from the same day - it only seems to grab the first one.
Can anyone advise how you would go about modifying the script to grab all 10 that you usually have to scroll through by clicking the first and then clicking the right arrow? Patrick : Yours seems to download photos and videos without the prefixes that fboulet 's modified script added.
Only difference I see between your 2 scripts is the semi-colon at the end of the videos one -- but removing the extra semicolon doesn't seem to fix fboulet 's for videos -- so weird! I've taken another look, and Coopersweb and trunkspacehosting are right - it only downloads only the first photo. The result is the same whether you use my script or fboulet 's modification. It's very possible that this has always been the case, and that only fboulet 's modification made it noticeable.
I couldn't really seem to figure out how to identify the URLs of subsequent photos. I'm a developer, but not in JavaScript, and the minified and obfuscated code is challenging to interpret. I set an event listener on the click function and stepped through the code, and it appears that the photo URLs are buried within a long array of functions inside a webpack. I decided to try another approach.
The code now loops through each story item and "clicks" to advance through the set of photos. It also downloads videos story by story, so that process should be more robust. In addition I added some date parsing enable the failes to be saved with sortable data. Patrick : Brilliant, thank you! However, for me anyway, it only goes back to 3 posts or 3 days. I have 2 years of posts to save : Is there anything limiting the timeframe in your code? If so, I haven't spotted it.
Thanks so much for helping with this! I used a node. First of all, thanks a whole lot for this script! The logic is well made and it allowed me to download my child's year story worth of photos about items. As is, the script did not work for me and gave me the infamous 'undefined' message.
I spent a few minutes debugging and here are my observations :. I had to find the right css codes for my story So I console. I replaced the values for the three lines and it worked for me. My code looked like this :.
The post at the top of my list was a post with no media, so as is, the script ran in an endless loop. That's because the case at the bottom of the script didn't handle a post with no images. Lastly, to make sure I did not get only a few posts, I had to 'load' the entire year by going at the bottom of the page pressing page down or end will do the trick.
I ran this with Edge and my or so files were downloaded in a less than 10 minutes. Thanks again! Hi This is awesome and it works excellent for me. Skip to content. Sign in Sign up.
Instantly share code, notes, and snippets. Last active Oct 17, Code Revisions 6 Stars 23 Forks 3. Embed What would you like to do? Embed Embed this gist in your website. Share Copy sharable link for this gist. Learn more about clone URLs. Download ZIP. Saving the images and videos from your ClassDojo storyline. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below.
November 17, at am. Not sure if desktop version is available but definitely will try. May 31, at pm. It worked! Adri says:. September 9, at pm. On the desktop version just right click and Save video as. Karla Trauberman says:. May 4, at pm.
Same thing! I am a teacher. Donna says:. April 30, at am. I would like to do the same thing. I do not see the download arrow at the bottom of my video.
Please respond. Nyasha Grennan says:. To print a specific student's report, please click on their name to generate their report. Click the blue "Print reports" button. This will download your reports as PDF files.
From there you can save them to your computer or print them off! This feature is not currently available on the ClassDojo Android app. Have more questions? Submit a request.