Skip to main content

A tool to find broken links (404s) and oversized pages in websites

Project description

404 Finder

A Python tool to crawl websites and find broken links (404s) and oversized pages.

Installation

pip install find-404

Usage

find-404 example.com [options]

Options

  • --max-size BYTES: Maximum allowed size in bytes for any page
  • --workers N: Number of parallel workers (default: 10)
  • --max-depth N: Maximum depth to crawl (default: no limit)
  • --verbose: Enable verbose logging

Example

# Check for broken links on example.com
find-404 example.com

# Check for broken links and pages larger than 1MB
find-404 example.com --max-size 1000000

# Crawl with 20 parallel workers and verbose logging
find-404 example.com --workers 20 --verbose

Output

The tool generates a JSONL file named result_domain.jsonl containing details about each URL visited, including:

  • URL
  • Status code
  • Page size
  • Referrer (the page that linked to this URL)

Features

  • Parallel crawling with configurable number of workers
  • Finds broken links (HTTP status codes 4xx and 5xx)
  • Checks page sizes against a configurable limit
  • Follows redirects while staying within the same domain
  • Handles both internal and external links
  • Generates detailed JSONL reports

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

find_404-1.1.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

find_404-1.1.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file find_404-1.1.1.tar.gz.

File metadata

  • Download URL: find_404-1.1.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for find_404-1.1.1.tar.gz
Algorithm Hash digest
SHA256 d1fb79c77b9b38c3151dbc3cd0af727f9bed8f03ca325417fc8c37035d20e14f
MD5 8bf627e72636ebf6120bd1502a7db93f
BLAKE2b-256 eecbcb1f3710403406923f1ca4228e5707ccce4185627df8e140b8ff7feacb6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for find_404-1.1.1.tar.gz:

Publisher: publish.yml on singiamtel/find_404

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file find_404-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: find_404-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for find_404-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77be3347ae89b48925eb45fb84760bd19035be52f13337245d2d5068e7e2a9fc
MD5 887a3493a52c100ba8a7d21663c6b5da
BLAKE2b-256 541b8b3df9b1278257055a68cc069d747100782698950c757bc942833e60a389

See more details on using hashes here.

Provenance

The following attestation bundles were made for find_404-1.1.1-py3-none-any.whl:

Publisher: publish.yml on singiamtel/find_404

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page