Website Content Crawler avatar

Website Content Crawler

Try for free

No credit card required

Go to Store
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
RB

File extension prevent crawler from accessing pages

Closed

russet_backpack opened this issue
12 days ago

Hello,

if I have an URL like this: example.com/path/site.html it will not crawl pages for example.com/path/site/site2 Is this intentional? I am handling this case in my own code and remove the .html, but I think it would be more intuitive if this is done by default by the actor. I know about the glob settings, but this would be redundant.

Thanks!

jiri.spilka avatar

Hi, thank you for using the Website Content Crawler.

Yes, this behavior is intentional. We have many customers who want to scrape a specific webpage without crawling, so they use URLs like example.com/path/site.html as a startUrl and also set Max crawling depth to 0.

You’re correct - you’ll need to either remove site.html from the URL or add example.com/path to the Include URLs (globs) setting.

Unfortunately, there isn’t another way to handle this at the moment.

I’ll close this issue for now, but feel free to reply here or open a new issue if you have further questions.

Developer
Maintained by Apify

Actor Metrics

  • 3.9k monthly users

  • 718 stars

  • >99% runs succeeded

  • 2.2 days response time

  • Created in Mar 2023

  • Modified 15 hours ago