scrapehtml - Scrape HTML

Scrape a provided HTML string or Website.

html
Type
string
HTML string to be scraped.
Example:
<div><a href='https://1001fx.com'>1001fx</a></div>
url
Type
url
Website to be scraped.
Example:
https://1001fx.com/blog
selectors
Type
array<object>
Required
required
Array of selectors to search for.
Example:
[
  {
    "selector": "#__next > div > div > main > div > div > div > a",
    "attribute": "href",
    "keyField": "url"
  }
]
selector
Type
string
Required
required
The CSS selector to search for.
Example:
#__next > div > div > main > div > div > div > a
attribute
Type
string
Required
required
The attribute to return. E.g.: href, src, text.
Example:
href
keyField
Type
string
Required
required
The field to store the found value in.
Example:
url

Available on

Postman
Make
Zapier
N8N
Airtable
SeaTable
Bubble
Power Automate
Workato
SAP Build