{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "apify-crawlee-python--crawl-a-site-and-save-titles-with-crawlee",
 "repo": "apify/crawlee-python",
 "repo_url": "https://github.com/apify/crawlee-python",
 "repo_slug": "apify-crawlee-python",
 "title": "Crawl a site and save each page title",
 "page_title": "How to crawl a site and save each page title with Crawlee Python",
 "summary": "Use BeautifulSoupCrawler to follow links and push URL and title for each page into a dataset.",
 "who": "An analyst building a site inventory or content audit.",
 "problem": "Writing link following, dedup and storage yourself is error prone.",
 "outcome": "A dataset with URL and title for every crawled page.",
 "steps": [
  "Install with `python -m pip install 'crawlee[all]'`",
  "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()",
  "Run crawler.run with your start URL"
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Beginner",
 "time": "20 minutes",
 "basis": "readme",
 "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.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "Python with pip, or uv for the CLI",
  "Playwright browsers for browser crawling",
  "Respect each site's terms and robots rules"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "data",
   "notice": "Only crawl sites you are allowed to; keep request limits polite."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/apify-crawlee-python/crawl-a-site-and-save-titles-with-crawlee/",
 "md": "https://dedupedai.com/use-cases/apify-crawlee-python/crawl-a-site-and-save-titles-with-crawlee/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/apify-crawlee-python--crawl-a-site-and-save-titles-with-crawlee.json",
 "api_version": "v1"
}
