Structured Data Extraction

Extract named fields from public web pages and inspect the observed values before exporting JSON.

Example inputscrape_page
{
  "url": "https://www.iana.org/domains/reserved",
  "formats": [
    "json"
  ],
  "renderMode": "never",
  "extract": {
    "fields": [
      {
        "name": "heading",
        "selector": "h1"
      }
    ]
  }
}

Pull known fields from the page

Start with a known value
Use a field rule or a preset to specify what to capture. The sample reads the page heading into a named JSON field.
Review missing values
Check the returned fields against the source. If a value is absent, inspect the HTML and refine the rule before treating it as a data issue.
Move from one page to many
For repeated rows, use the Structured Dataset Builder to set record rules and inspect the tabular export.