An open API service indexing awesome lists of open source software.

https://github.com/xnuvers007/brokenlink


https://github.com/xnuvers007/brokenlink

Last synced: 7 months ago
JSON representation

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```