DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to crawl a site and save each page title with Crawlee Python

Use BeautifulSoupCrawler to follow links and push URL and title for each page into a dataset.

Short answer: Install with python -m pip install 'crawlee[all]'; then copy the BeautifulSoupCrawler example and set max_requests_per_crawl; in the handler, push url and title with context.push_data and call context.enqueue_links(). All steps.

data. Only crawl sites you are allowed to; keep request limits polite.

Who it is forAn analyst building a site inventory or content audit.

The problemWriting link following, dedup and storage yourself is error prone.

The outcomeA dataset with URL and title for every crawled page.

What you need first

  • Python with pip, or uv for the CLI
  • Playwright browsers for browser crawling
  • Respect each site's terms and robots rules

Steps

  1. Install with python -m pip install 'crawlee[all]'
  2. Copy the BeautifulSoupCrawler example and set max_requests_per_crawl
  3. In the handler, push url and title with context.push_data and call context.enqueue_links()
  4. Run crawler.run with your start URL

Prompt for your agent

With apify/crawlee-python, install `python -m pip install 'crawlee[all]'`, write a BeautifulSoupCrawler that crawls up to 200 pages of <my own site>, stores URL and title, and exports the dataset to CSV.

Caveat. This card is written from the apify/crawlee-python README, not from a test run by Deduped. Before you start, make sure you have Python with pip, or uv for the CLI. Check the repo for newer instructions before you rely on these steps.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for apify/crawlee-python and "Crawl a site and save each page title"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer