Go to example tasks

Get the Text and Title of a Single Web Page

One URL in, one clean record out: title and visible text, rendered in a real browser so JavaScript pages work. No crawling. $0.003 per page.

Try for free
Playwright Scraper — Python, Any Website
Playwright Scraper — Python, Any Websiteeszetael_lab/reliable-playwright-scraper
URL
Title
Text
Text cut at 5000
+1 field
Text
Number
Boolean
List
Object

Input

Start URLs(required)
url:https://docs.python.org/3/library/index.html
Page function:async def page_function(page, context, request): body = await page.inner_text('body') return { 'url': request.url, 'title': await page.title(), 'text': body[:5000], 'textTruncated': len(body) > 5000, }
Max pages to crawl:1
Max concurrency:5
Request timeout (seconds):90
Wait until:load
Respect robots.txt:true
Proxy configuration:{1 field}
Block images, fonts and media:true
Session handling:auto
Max items:1
Deliver records from pages that returned nothing:false

Output fields

URL
Title
Text
Text cut at 5000
Fully loaded

How it works

Sign up on Apify or log in

The Playwright Scraper — Python, Any Website Actor is ready to run with the inputs already set for "Get the Text and Title of a Single Web Page". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Get the Text and Title of a Single Web Page" task

The Playwright Scraper — Python, Any Website Actor will start running based on the input automatically. You can also change all the input fields, like start urls, page function, and more, to match your specific use case.

Receive the "Get the Text and Title of a Single Web Page" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as URL, title, text, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Get the Text and Title of a Single Web Page" task via API.

Image

Integrate "Get the Text and Title of a Single Web Page" into your workflow

Connect "Get the Text and Title of a Single Web Page" with 100+ integrations, or run it via API or MCP.

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