Extract data with CSS selectors
extract_dataScrape specific elements from a page. Give a map of field name to CSS selector; each field returns the text of every match. Append '@attr' to a selector to read an attribute instead, e.g. 'a.product@href' or 'img@src'. Cost: 1 credit per call.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) page URL | |
| limit | No | Max matches per field | |
| selectors | Yes | e.g. {"titles": "h2.title", "links": "a.item@href"} |