← All work

Web Application · Internship

Broken Link Scanner

A web scraping tool built during my LTA internship that automatically finds dead links across web pages, so teams can fix them before users hit them.

Screens from Broken Link Scanner

Overview

During my DevOps internship at the Land Transport Authority (LTA), I built a Broken Link Scanner: a web application that crawls a page, pulls out every embedded link, and checks whether each one is still alive. It turns a slow, manual clicking exercise into a single automated scan, making website maintenance faster and more reliable.

The problem

Websites and internal portals collect hundreds of links over time. When a page moves or a server goes down, those links quietly break. Finding them by hand means clicking through every page one by one. It’s slow, easy to miss things, and usually only happens after a user complains.

What I did

  • Built the scraper: given any URL, the application scrapes the page, extracts every embedded link and summarises the content it finds.
  • Automated link validation: each link is checked automatically and labelled Live or Not Live, along with its status code (e.g. 200 or ENOTFOUND).
  • Designed a simple two-mode interface: a Scraping tab to explore a single page, and a Link Checker tab to paste a batch of URLs and check them all at once.
  • Handled the scraped data end to end: from extraction to displaying clear, readable results in the web interface.
The website Broken Link Scanner: the Link Checker tab showing liveness results, and the Scraping tab showing scraped links with live and not-live statuses
Two modes, one goal. Link Checker (left) validates a list of URLs in one go. Scraping (right) crawls a page and flags every broken link it finds, with ● Not Live and ● Live status codes.

How it works

  1. Scrape: enter a URL, and the application crawls the page and collects every embedded link.
  2. Validate: each link is requested automatically and its HTTP status is recorded.
  3. Report: results are listed with a clear Live or Not Live label, so broken links stand out instantly.

Future improvements

  • Build a richer dashboard to visualise link health and trends over time.
  • Add scheduled scans with notifications when a link breaks.
  • Optimise scraping performance and scalability for larger websites and intranet deployment.

Lessons learnt

  • Strengthened my understanding of web scraping and data handling.
  • Improved my problem-solving and debugging skills in web development.
  • Gained experience building practical, user-focused tools for real users in a professional environment.
Next project Bot Builder UI