Complete technical documentation for WebVac — an asyncio Patchright scraper with auth, CapSolver, proxy resilience, historical scan sessions, and an optional De-Caffeinator VAPT task.
Start here if you are new: OVERVIEW.md → WORKFLOWS.md → ARCHITECTURE.md
Start here for day-to-day usage: root README.md · CHANGELOG.md
All diagrams use Mermaid (GitHub, VS Code Mermaid preview, or any Mermaid renderer).
| Document | What it covers |
|---|---|
| OVERVIEW.md | What WebVac is / is not, capabilities, design principles, threat model boundaries |
| STRUCTURE.md | Repository and webvac/ package tree, entry points, local secrets |
| ARCHITECTURE.md | Layered system architecture, package map, runtime sequence, status matrix |
| WORKFLOWS.md | End-to-end scrape, crawl, auth, CapSolver, and VAPT workflows with diagrams |
| Document | What it covers |
|---|---|
| architecture/CLI.md | scraper.py, interactive menu, --doctor, argv construction |
| architecture/CRAWL.md | BFS crawler, concurrency slots, page_scrape_flow, retries / evasion |
| architecture/BROWSER.md | BrowserManager, slot pool, humanize, warmup, bot detection |
| architecture/AUTH.md | AuthManager, sessions, MFA/TOTP, auth walls vs bot blocks |
| architecture/CAPTCHA.md | CapSolver pipeline: detect → extract → solve → inject |
| architecture/PROXY_ORIGIN.md | Proxies, playbooks, sticky/cooldown, robots, origin probe |
| architecture/NETWORK.md | NetworkListener, debug dumps, challenge classification |
| architecture/DATA.md | HTML parse, page records, pipelines, export formats |
| architecture/VAPT.md | De-Caffeinator integration (--task vapt) |
| Document | What it covers |
|---|---|
| SCAN_LAYOUT.md | On-disk scan session layout and meta.json schema |
| CONFIG_REFERENCE.md | DEFAULT_CONFIG knobs and CLI flag mapping |
| RELEASE_CHECKLIST.md | Pre-push / pre-release checks for browser, docs, VAPT, and secrets |
| SECURITY.md | Secrets handling, responsible use, auth/proxy safety |
| Asset | Description |
|---|---|
| webvac-architecture-one-page.html | One-page visual architecture |
scripts/generate_architecture_pdf.py |
Regenerate webvac-architecture.pdf |
flowchart TD
A[OVERVIEW] --> B[WORKFLOWS]
B --> C[ARCHITECTURE]
C --> D1[CRAWL]
C --> D2[AUTH]
C --> D3[CAPTCHA]
C --> D4[PROXY_ORIGIN]
C --> D5[BROWSER]
C --> D6[NETWORK]
C --> D7[DATA]
C --> D8[VAPT]
D1 --> E[SCAN_LAYOUT]
D7 --> E
E --> F[CONFIG_REFERENCE]
F --> G[SECURITY]
Docs target WebVac 0.3.0 (scrape-first core + opt-in De-Caffeinator VAPT). When code and docs disagree, trust the code under webvac/ and open a docs fix.