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
CR

Assist me in fixing the configuration errors

Open

crispnik opened this issue
a month ago

I need to scrape all relevant content from the Meta Business Help Center (https://www.facebook.com/business/help) to train an AI system. I have run several scrapers with different settings, including cookies and advanced request parameters. The scrapers were completed successfully but without retrieving any data. Run ID dllOUFYAUyVqBgcsH, Run ID hryHdigMK8ozlZQjx.

Main issues: -A message indicates that login is required to access the data. -In some cases, the scraper cannot find the data on the page. Could you please assist me in fixing the configuration errors or advise on how to set up the scraper to successfully retrieve the content? Thank you in advance!

jindrich.bar avatar

Hello, and thank you for your interest in this Actor!

It looks like there are multiple parts to this problem:

  1. First of all, Facebook is generally really good at anti-scraping protection. Even though this is just a support page, it's entirely possible that WCC might not be able to fully scrape it because of the content protection services they use.
  2. The page seems to have dynamic content (stuff is still popping up in my browser even after the initial page is loaded). You might not be able to scrape this using Cheerio Crawler, as this crawler type does not support dynamic loading on pages. Try switching to the Firefox + Playwright Crawler type and see how the extracted content changes.
  3. Login might be required to access the data. I see you're submitting cookies in the initialCookies input field; this might help, but note that login cookies often expire (make sure to test with the freshest tokens straight from your browser).

These are just a few tips I have. Hopefully, this gave you something to start with, at least; if you hit any new obstacles, feel free to let us know!

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