Go to example tasks

Extract Every Link From a Website

Walks a site and returns the links found on each page, de-duplicated. For site audits, broken-link hunts and crawl maps. $3 per 1,000 pages.

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://books.toscrape.com/
Page function:async def page_function(page, context, request): links = await page.eval_on_selector_all( 'a', 'els => els.map(e => e.href)') return {'url': request.url, 'linkCount': len(links), 'links': sorted(set(links))[:200]}
Link selector:a
Include globs
glob:https://books.toscrape.com/**
Max pages to crawl:15
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:15
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 "Extract Every Link From a Website". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Extract Every Link From a Website" 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 "Extract Every Link From a Website" 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 "Extract Every Link From a Website" task via API.

Image

Integrate "Extract Every Link From a Website" into your workflow

Connect "Extract Every Link From a Website" 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