Skip to content

Broken Link Checker for SEO in Python that takes a URL as input and outputs all broken links (404 errors) found on that page.

License

Notifications You must be signed in to change notification settings

Aditi-Rani/Broken-Link-Checker-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧹 Broken Link Checker for SEO

A simple Python CLI tool to scan a webpage and detect broken links (404 errors) for better SEO and user experience.


✅ Features

  • Accepts a website URL
  • Scans all <a href=""> tags on the page
  • Follows absolute and relative links
  • Detects:
    • Broken links (404)
    • Unreachable links (timeouts, DNS errors)
  • CLI-based: Just enter any URL and get results instantly!

🚀 How to Run

1. Clone the repository

git clone https://github.com/Aditi-Rani/Broken-Link-Checker-
cd broken-link-checker

2. Install dependencies

pip install -r requirements.txt

3. Run the script

python broken_link_checker.py

4. Enter the URL when prompted

Enter the URL (include https://):

About

Broken Link Checker for SEO in Python that takes a URL as input and outputs all broken links (404 errors) found on that page.

Topics

Resources

License

Stars

Watchers

Forks

Languages