Deepanshu Yadav
← Work

AKTU record extractor

Script · 2024 · TypeScript, Node.js, Cheerio, MongoDB

rate-limited, retriedNode scriptAKTU portalMongoDBSpreadsheet
One script, left running on its own. It asks the portal for one roll number at a time, logs back in when the session drops, and writes each record out.

Someone was copying student records out of the university portal by hand, one roll number at a time. It was taking days.

I wrote a Node script that goes through the roll numbers, reads each record and saves it to a database and a spreadsheet. It covered 1,000+ students in one run.

The portal is slow and drops sessions often, so the script waits between requests, notices when it’s been logged out, logs back in and retries. You can start it and walk away.

NextSentinel Copilot

esc