First off, thanks Nathan for sharing your videos. I reached out to Embrace thinking maybe they'd worked up some documentation, they're-shared your videos.
We've had PowerSchool since 2008 so I expected a decent number of students, I did not expect 3080. We discussed how far back we should go and ultimately channeled our inner hoarder and decided "Better to have and not need than need and not have." So I went through the steps and got to the part where there is inconveniently no Download All button and got cracking at it only to quickly go cross eyed.
There is probably a better way to do this but in case not, here is how I nabbed 3080 files in about 2 hours automagically. I feel like I'm behind on this quest and have no idea what's in store next but maybe this is helpful, or maybe I'm a bonehead and missed the email about the easy button. ¯\_(ツ)_/¯
- Open Chrome Settings > Sites & Settings > Advanced Permissions > Automatic Downloads
- Chrome Settings > Downloads
(Set a default download location for these files cause you probably want them somewhere other than your desktop)
Once presented with the giant list O' Student links:
Right click on the page and click Inspect
Click Console
Type "allow pasting" without the quotes of course and hit enter.
Pasting script off the internet is of course a cardinal sin so trust but verify as always...
If you like it and feel good about it... paste this and hit enter... it looks for the download image and clicks them all and auto downloads all the files till its done.
const icons = document.querySelectorAll('img[src*="download"]');
let i = 0;
async function clickNext() {
if (i >= icons.length) {
console.log("All downloads triggered");
return;
}
const clickable = icons[i].closest('a, button');
if (clickable) {
clickable.click();
console.log(`Clicked ${i + 1} / ${icons.length}`);
}
i++;
setTimeout(clickNext, 1500); // adjust speed here
}
clickNext();
--