Miva PDF Downloader
by Marvellous Nwachukwu
I'm a Miva University student. Every course has dozens of PDFs on the LMS, and the only way to get them is the slow click-through: open the course, scroll the weeks, click each link, wait for the page, find the download button, save the file, back to the list, do it again. One course is 30+ files. Across a semester, you've lost an afternoon.
I got tired of doing it by hand, so I wrote a script.
I got tired of doing it by hand, so I wrote a script.
What it does
Logs into your LMS, walks every course you're enrolled in, finds every PDF, and downloads them. One folder per course. You run it, make tea, come back to a complete archive.
Built with Node.js and Playwright. Credentials read from a .env file; they stay on your machine and only ever go to Miva for login. Skips files already downloaded, so re-runs are cheap.
Built with Node.js and Playwright. Credentials read from a .env file; they stay on your machine and only ever go to Miva for login. Skips files already downloaded, so re-runs are cheap.
Why I shipped it
Most of my classmates aren't engineers and didn't think to automate the click-through. The README walks through setup step by step (down to "install Node from nodejs.org and click LTS") so anyone can run it. A few classmates have already saved their afternoons with it.
Source: https://github.com/MarvelNwachukwu/miva-pdf-downloader
Source: https://github.com/MarvelNwachukwu/miva-pdf-downloader