parse_html_document
Turn raw HTML into a structured node tree to enable efficient CSS/XPath querying and web scraping.
Instructions
Parse a full HTML document into a structured node tree using scraper_rs.parse_document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | No | ||
| source_url | No | ||
| max_size_bytes | No | ||
| document_handle | No | ||
| truncate_on_limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| parse_mode | Yes | ||
| source_url | No | ||
| max_size_bytes | No | ||
| document_handle | No | ||
| truncate_on_limit | Yes |