https://github.com/xnuvers007/brokenlink
https://github.com/xnuvers007/brokenlink
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xnuvers007/brokenlink
- Owner: Xnuvers007
- License: mit
- Created: 2024-08-08T06:05:58.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-08-08T15:06:13.000Z (over 1 year ago)
- Last Synced: 2025-03-12T19:25:46.960Z (10 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Broken Link Checker
A simple Python script to check for broken links on a website. This script can crawl a website to find and report broken links, with support for different output formats and custom headers.
## Features
- Check for broken links on a single URL or a list of URLs.
- Crawl web pages to find all links and check their status.
- Customize the depth of crawling.
- Generate reports in various formats: TXT, JSON, HTML, CSV, and XLSX.
- Exclude specific domains from being checked.
## Prerequisites
Ensure you have Python 3.x installed on your system. You will also need `pip` to install the required libraries.
## Installation
```
git clone https://github.com/Xnuvers007/brokenlink
cd brokenlink
pip install -r requirements.txt
./br.py -h
```
# How to run in everywhere ?
Linux:
```
alias brokenlink='/home/usernamelinux/path/to/directory/and/files/broken.py'
```
windows:
```
setx PATH "%PATH%;C:\path\to\file\br.py" /M
```
so you can run in everywhere just type ```br -h```