extract_table
Extract an HTML table into structured data with headers and rows. Ideal for pricing tables, specifications, and financial listings, saving manual cell mapping.
Instructions
Pull a into {headers, rows, row_count}. Headers come from ... if present, else the first 's cells. Each subsequent 's cells become a row dict keyed by header (or 'col_N' if no header for that column). Right tool for pricing tables, specs, finance/listings tables — saves writing the per-cell mapping eval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector matching the <table> element |