Facebook ad library scraper avatar

Facebook ad library scraper

Try for free

Pay $0.75 for 1,000 ads

Go to Store
Facebook ad library scraper

Facebook ad library scraper

curious_coder/facebook-ads-library-scraper
Try for free

Pay $0.75 for 1,000 ads

Scrape facebook ads search and ads run by facebook pages - Fast and lightweight

GJ

Run of 5700 ads stopped at 1100 scraped

Closed

grinning_jobber opened this issue
9 days ago

Multiple recent runs have scraped many fewer ads than expected. This run, for instance, scraped only 1100 when there were 5700 ads in the total set: yqZS7HcKiXRMvRChc (to be explicit, this is the Run ID for this run).

The run completes saying all results have been returned, which is clearly not the case. I set the limit at 5800 in the case above, so that is also not the issue.

LP

Alpmedia

8 days ago

Faced the same issues

GJ

grinning_jobber

7 days ago

This is a critical application for our daily processes. A quick response would be appreciated if possible, as this is causing key workflows in our business to be greatly degraded.

curious_coder avatar

Sent an update which should make it better. Waiting for feedback

curious_coder avatar

Sent one more update with fix

GJ

grinning_jobber

4 days ago

Thank you for the update. With the most recent update this is now only returning between 15-30 results for a 3.5k ad search.

curious_coder avatar

Please share run

GJ

grinning_jobber

4 days ago

Run removed after initial send.

GJ

grinning_jobber

4 days ago

Thank you, we will test again.

GJ

grinning_jobber

4 days ago

Just tested again on a 2500-length ad search and only got through 1299 of them. Seems to be better than the last version but not getting to all of the ads. Here's the run: https://console.apify.com/view/runs/OOQbxC37VhlL3MNOd

We also got this message: Actor is unusually slow. Please report the issue to the developer or try with different input

curious_coder avatar

You got that message because you've assigned 2GB Ram which is too much when scraping a single ads search url. This will reduce the profit margins to us.

Just reduce the RAM under Run options to 512MB if you are scraping only 1 url per run.

curious_coder avatar

You can resurrect your last run to resume scraping with reduced RAM

GJ

grinning_jobber

4 days ago

Got it, I will try that now.

GJ

grinning_jobber

4 days ago

Resurrected the run at 512MB and got only up to 1995 out of the 2500 (and I'm unsure if the extra ~600 added after the resurrection are duplicates or not either). Same run, of course: https://console.apify.com/view/runs/OOQbxC37VhlL3MNOd

curious_coder avatar

Finally managed to get it scrape all 5k+ ads. Here is the run URL: https://console.apify.com/actors/XtaWFhbtfxyzqrFmd/runs/jk4yH06NnIwnk5IyY#log

Developer
Maintained by Community

Actor Metrics

  • 459 monthly users

  • 60 stars

  • >99% runs succeeded

  • 4.6 days response time

  • Created in Aug 2023

  • Modified 9 hours ago