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
CR

Assist me in fixing the configuration errors

Closed

crispnik opened this issue
2 months 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!

jiri.spilka avatar

I’ll go ahead and close this issue. Feel free to ask any additional questions or open a new issue if you come across something else unrelated.

Developer
Maintained by Apify

Actor Metrics

  • 3.9k monthly users

  • 720 stars

  • >99% runs succeeded

  • 2.2 days response time

  • Created in Mar 2023

  • Modified a day ago