Scrape Tool

The Scrape tool is used to evaluate web pages by extracting data fields using CSS or XPath selectors.

Arguments

Name Type Description
task DownloadTask Required. A task from the previous Start or Crawl tool response
selector String Required. A valid CSS or XPATH selector.
attributeName String Optional. Attribute name to get data from. Use val to get inner text. Default value: val

DownloadTask

Name Type Description
Id String Required. Task Id
Url String Required. Page URL

Return Type

Array of String

Please rotate your device to landscape mode

This documentation is specifically designed with a wider layout to provide a better reading experience for code examples, tables, and diagrams.
Rotating your device horizontally ensures you can see everything clearly without excessive scrolling or resizing.

Return to Web Data Source Home