Find Which Pages of a Site Mention a Keyword

Returns only the pages containing your keyword, with a count of mentions. Pages without it are never delivered or charged. $3 per 1,000 delivered.

Try for free
Python Web Scraper — Playwright, Any Website
Python Web Scraper — Playwright, 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): KEYWORD = 'asyncio' body = await page.inner_text('body') hits = body.lower().count(KEYWORD.lower()) if not hits: return None return {'url': request.url, 'keyword': KEYWORD, 'occurrences': hits, 'title': await page.title()}
Link selector:a
Include globs
glob:https://docs.python.org/3/library/**
Max pages to crawl:20
Max concurrency:5
Request timeout (seconds):90
Wait until:load
Respect robots.txt:true
Proxy configuration
Block images, fonts and media:true
Session handling:auto
Max items:20
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 Apify01

Create your Apify account to access the Python Web Scraper — Playwright, Any Website.

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