Crawl4AI Plus icon

Crawl4AI Plus

Crawl web pages, extract data, and ask questions using Crawl4AI

Extract with CSS Selectors

AI-generated

Summary

Crawls the supplied URL and extracts a record for each element matching the Base Selector, using the configured CSS selectors to return text, HTML, or attribute values for each field.

Inputs

  • URL (required) — HTTP(S) page URL to crawl.
  • Base Selector (required) — CSS selector identifying each repeating item, such as a product card or article.
  • Fields (required) — One or more fields, each with a name and a CSS selector relative to the base element. Choose Text, HTML, or Attribute; Attribute uses the provided attribute name, defaulting to href.
  • Options — Optional crawl settings for ads/CSS blocking, browser profile and engine, headers, stealth and user simulation, cache behavior, text cleaning, headless mode, page timeout, navigation wait event, delay after load, and a selector or JS expression to wait for. Original page text can also be included in the output.

Output shape

A single formatted crawl result containing the CSS-extracted data and crawl metadata.

The output format is defined by the node's CSS result formatter; with Include Original Text enabled, the original page text is also included. Text fields are cleaned by default when Clean Text is enabled.

Links

Discussion