Website Content Crawler avatar

Website Content Crawler

Try for free

No credit card required

View all Actors
Website Content Crawler

Website Content Crawler

apify/website-content-crawler
Try for free

No credit card required

Crawl websites and extract text content to feed AI models, LLM applications, vector databases, or RAG pipelines. The Actor supports rich formatting using Markdown, cleans the HTML, downloads files, and integrates well with 🦜🔗LangChain, LlamaIndex, and the wider LLM ecosystem.

Do you want to learn more about this Actor?

Get a demo

You can access the Website Content Crawler programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1echo '{
2  "startUrls": [
3    {
4      "url": "https://docs.apify.com/academy/web-scraping-for-beginners"
5    }
6  ],
7  "useSitemaps": true,
8  "crawlerType": "playwright:adaptive",
9  "includeUrlGlobs": [],
10  "excludeUrlGlobs": [],
11  "initialCookies": [],
12  "proxyConfiguration": {
13    "useApifyProxy": true
14  },
15  "removeElementsCssSelector": "nav, footer, script, style, noscript, svg,\\n[role=\\"alert\\"],\\n[role=\\"banner\\"],\\n[role=\\"dialog\\"],\\n[role=\\"alertdialog\\"],\\n[role=\\"region\\"][aria-label*=\\"skip\\" i],\\n[aria-modal=\\"true\\"]",
16  "clickElementsCssSelector": "[aria-expanded=\\"false\\"]"
17}' |
18apify call apify/website-content-crawler --silent --output-dataset

Website Content Crawler API through CLI

The Apify CLI is the official tool that allows you to use Website Content Crawler locally, providing convenience functions and automatic retries on errors.

Install the Apify CLI

1npm i -g apify-cli
2apify login

Other API clients include:

Developer
Maintained by Apify
Actor metrics
  • 3k monthly users
  • 465 stars
  • 99.9% runs succeeded
  • 3.1 days response time
  • Created in Mar 2023
  • Modified 10 days ago