logo

TU Scraper

Preview Image for TU Scraper

TU Scraper is a small TypeScript project I built to make working with Tribhuvan University notices easier. I noticed that TU has notices spread across different faculty, institute, and campus websites, so getting the latest information programmatically was more complicated than it needed to be. I wanted a simple way for developers to fetch and work with those notices without dealing with each website separately.

So I built a lightweight scraper library that collects notices directly from official Tribhuvan University portals and returns clean, typed data. It supports multiple TU institutions, fetching latest notices, getting detailed notice information, and extracting attachments such as PDFs and images.

The project uses TypeScript, Node.js native fetch, and Cheerio, without relying on Puppeteer or a heavy browser. It also includes caching, concurrency control, structured errors, and a small interactive console for testing the API.

I mainly built this as a practical developer tool because I wanted a clean and reusable way to access TU notices from code instead of scraping every portal separately.