extract_structured_data
Extract structured data and metadata (OG tags, canonical, author, dates) from any website using custom CSS selectors for JSON output.
Instructions
Extract page metadata (OG tags, canonical URL, author, dates) and custom CSS selector JSON schema mapping from a website.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target website URL to extract content and metadata from. | |
| mode | No | Crawl mode: 'fast' (native fetch) or 'deep' (Playwright Chromium). | fast |
| proxy | No | Optional HTTP/SOCKS5 proxy URL. | |
| schema | No | Optional key-value map of property names to CSS selectors (e.g. { title: 'h1', price: '.price' }). | |
| cookies | No | Optional custom HTTP cookies key-value dictionary. | |
| headers | No | Optional custom HTTP request headers key-value dictionary. | |
| max_retries | No | Maximum retry attempts (default: 3). | |
| css_selector | No | Optional CSS selector to scope content before processing. | |
| include_metadata | No | Whether to extract Open Graph tags, canonical URL, author, and date metadata (default: true). |