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
GG

Crawling subdomains

Closed

gainful_governor opened this issue
23 days ago

Hi, is there any way to also crawl links on subdomains if they are linked from the main site? like blog.site.com ?

janbuchar avatar

Hello, and thank you for your interest in the Actor! Yes, this is possible. The easiest way to achieve it is using the "Include URLs (globs)" - you'd need to put both site.com/** and blog.site.com/** there. The setting in called includeUrlGlobs in the JSON configuration, if you use that. See https://apify.com/apify/website-content-crawler/input-schema#includeUrlGlobs for details.

GG

gainful_governor

22 days ago

I wont' know ahead of time the subdomain, does "*.site.com" work?

janbuchar avatar

It should!

janbuchar avatar

Well, it looks like you need to do something like https://*.site.com/**

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