Expand description
Local scrape/crawl/map/search/parse (HTTP + files; one-shot). Local scrape/crawl/map/search/parse (one-shot HTTP and file extract; no SaaS).
Engines:
http— reqwest + scraper HTML (no Chrome)browser— chromiumoxide viacrate::browser::OneShotSession
Structs§
- Scrape
Opts - Shared scrape options.
Enums§
- Scrape
Format - Output formats for local scrape.
Constants§
- HTTP_
USER_ AGENT - Identifiable product User-Agent for HTTP scrapes (PRD politeness).
Functions§
- batch_
scrape_ http - Batch scrape N URLs (HTTP engine, sequential by default).
- build_
scrape_ payload - Build agent envelope data from HTML.
- crawl_
http - BFS crawl from seed URL (HTTP), limited by
limitandmax_depth. - map_
http - Map site: collect unique URLs via BFS without full content (links format).
- parse_
file - Parse local file (html/md/txt/csv/json/xml/pdf/docx/xlsx) one-shot, no Chrome.
- parse_
file_ opts - Parse local file with optional PII redaction.
- read_
urls_ file - Read URLs file (one URL per line, # comments).
- redact_
pii - Redact common PII patterns in text (email, phone, card-like digits).
- reject_
non_ http_ scheme_ for_ http_ engine - Reject
file://, bare paths, and other non-HTTP(S) targets for the HTTP engine (GAP-A004). - scrape_
http - HTTP static scrape (no Chrome).
- search_
http - Local search: fetch a public HTML search page or treat query as URL list seed. MVP: if query looks like URL, map it; else use DuckDuckGo HTML (optional network).
- sorted_
keys - Stable sorted map helper for tests.