extract_data
Extract structured data from a web page with CSS selectors. Returns JSON with text content or attributes from single or multiple matching elements.
Instructions
Extract structured data from a web page using CSS selectors. Returns JSON with extracted text content or attribute values. Supports single element, multiple elements, and attribute extraction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to extract data from (must be http or https) | |
| selectors | Yes | List of CSS selectors with extraction rules | |
| timeout | No | Timeout in seconds (default: 30) |