Go to example tasks

CSS Selector Extractor (any page, any field)

Give it URLs and CSS selectors and it returns exactly what those selectors match — text, HTML, an attribute or a match count — one row per URL, no browser required.

Try for free
Web Scraper — CSS Selector & Data Extractor
Web Scraper — CSS Selector & Data Extractorwebdatatools/css-selector-extractor
URL
Final URL
HTTP status code
Content type
+6 fields
Text
Number
Boolean
List
Object

Input

URLs:https://example.com+1
Selectors(required)
name:title+1
selector:h1+1
type:text+1
First match only:true
Max matches per selector:20
Trim whitespace:true
Max concurrency:5
Proxy mode:auto
Proxy configuration

Output fields

URL
Final URL
HTTP status code
Content type
Extracted fields
Match counts
HTML size (bytes)
Used proxy
Error
Scraped at

How it works

Sign up on Apify01

Create your Apify account to access the Web Scraper — CSS Selector & Data Extractor.

Start the run02

The Actor will start running based on the input automatically.

Receive the output03

Monitor the progress in real-time. You will be notified as soon as your dataset is complete and ready for review.

Integrate into your workflow04

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow.

Image

Integrate Actor directly into your workflow

Choose from one of 100+ integration options we provide or integrate via API

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay