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  "keepElementsCssSelector": "",
16  "removeElementsCssSelector": "nav, footer, script, style, noscript, svg, img[src^='\''data:'\''],\\n[role=\\"alert\\"],\\n[role=\\"banner\\"],\\n[role=\\"dialog\\"],\\n[role=\\"alertdialog\\"],\\n[role=\\"region\\"][aria-label*=\\"skip\\" i],\\n[aria-modal=\\"true\\"]",
17  "clickElementsCssSelector": "[aria-expanded=\\"false\\"]"
18}' |
19apify 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
  • 3.8k monthly users
  • 635 stars
  • 100.0% runs succeeded
  • 2.7 days response time
  • Created in Mar 2023
  • Modified 7 days ago