botwall

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package botwall detects when a crawl was served a CAPTCHA or bot-protection challenge instead of the real page — reCAPTCHA, hCaptcha, Cloudflare Turnstile, and the full-page interstitials of Cloudflare, DataDome, AWS WAF, PerimeterX/HUMAN, and Imperva Incapsula.

This matters because a challenge page looks like a successful (often HTTP 200) fetch, so every downstream analyzer then audits the challenge HTML — producing a page's worth of misleading "missing title / thin content / no structured data" findings. Surfacing the block tells the reader those findings are artefacts of being blocked, not real problems.

It is a pure analyzer: it reads each page's status, response headers, body, title, and (in headless mode) the outbound request URLs the renderer captured, and emits Issues. It never fetches or solves anything.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer struct{}

Analyzer flags pages that are CAPTCHA / bot-protection challenge walls.

func New

func New() *Analyzer

New returns a botwall analyzer.

func (Analyzer) Analyze

func (a Analyzer) Analyze(_ context.Context, result *crawler.Result) []analyze.Issue

func (Analyzer) Description

func (Analyzer) Description() string

func (Analyzer) Name

func (Analyzer) Name() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL