Web Scraping & HTML Table Extraction

tools/web-extractionConnectors

Pull structured tables and clean prose from sitemaps, RSS, and HTML indexes.

Find pages through sitemaps, RSS feeds, or directory indexes with strict origin and crawl budgets, then grab HTML tables or readable text using html.web_extract.

Use in chatCrawl the state utility commission's public queue index pages with Web Extraction and parse each project row into a clean table.

What Web Scraping & HTML Table Extraction does

Web Scraping & HTML Table Extraction turns public municipal portals, press archives, regulatory lists, and reference tables into structured data. Each recipe sets allowed_origins, max_pages, and rate limits so crawls stay polite and bounded.

Once fetched, html.tabular reads clean <table> grids while html.web_extract strips boilerplate for AI Extract or Classify steps. Results include source URLs, SQL and API access, and Parquet, CSV, or JSON exports.

Input & output example

Respects origin allowlists, page budgets, and revisit policies.

HTML directory + detail pages

<table class='stats'><tr><td>Q3 2026</td><td>412 MW</td></tr></table>
<a href='/notices/2026-10-12'>Grid Interconnection Queue 419</a>

Structured crawl table

notice_urlperiodcapacity_mw
/notices/2026-10-12Q3 2026412

How it works

  1. 1

    Set seed index, sitemap, and origin rules

    Use public.https.collection@2.0.0 with allowed_origins, link selectors, max_pages, and fetch pacing.

  2. 2

    Pull tables or clean article text

    Run html.tabular for HTML tables or html.web_extract for clean markdown, text, and page metadata.

  3. 3

    Clean, verify, and publish

    Apply Extract or Classify, shape data in DuckDB SQL, and serve via REST API, Parquet, and MCP.

Try with an agent

Pre-loads Web Extraction in chat

Scrape state energy commission tables

Crawl the state utility commission's public queue index pages with Web Extraction and parse each project row into a clean table.

Collect central bank speeches

Discover speech pages from the central bank sitemap, extract visible text with html.web_extract, and classify policy stance.

Common use cases

  • Collecting municipal registries and regulatory bulletins
  • Converting HTML statistical tables to Parquet
  • Gathering articles or press releases for Extract or Classify

Details

Category
Connectors
Identifier
web-extraction
Inputs
HTML pages · Sitemaps & RSS · Directory indexes
Outputs
HTML tables · Extracted text + metadata
Dataset delivery
Parquet · CSV · JSON · SQL · REST API · MCP

Frequently asked questions

How does Web Extraction avoid runaway crawls?

Every collection recipe declares allowed_origins, max_pages, max_fetches_per_run, and crawl intervals.

Can Web Extraction extract both HTML tables and article bodies?

Yes. Use html.tabular for table data, or html.web_extract to pull clean prose and headings.

Are crawled page URLs retained for provenance?

Yes. Every extracted record keeps its source page URL for direct verification.

Related tools