HTML selector

Output

The HTML selector returns the content inside the selected element, including nested tags. It does not return the selected outer element itself.

Configuration

  • Selector - CSS selector for the source element.
  • Multiple - Enable only when several HTML fragments should be returned as separate records or values.

Use cases

  • Preserve structured descriptions.
  • Extract lists, tables or formatting for later processing.
  • Store source markup for downstream transformation.

Post-processing

Use the Strip HTML parser in Web Scraper Cloud when the source must be collected as HTML but delivered as normalized plain text.

Related