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

LP

Actor is unusually slow

Closed

Alpmedia opened this issue
a month ago

"The actor is unusually slow. Please report the issue to the developer or try with a different input"

for 5 mins it got back only 300 ads. Used to be >1k. What could have been wrong?

LP

Alpmedia

a month ago

There are more cases. Problem remaining

  • bCRPmbzkeAMnHIGnv
  • s9Ag1QyEfRFVyerZO
  • 1M1HuaSZdMz1TWuOv
LP

Alpmedia

a month ago

I tried 1)both cloud API calls and manual search 2) Changed the parameters (different timeframe). The same issue

YWwX1ooXgPJ0iRdqu

curious_coder avatar

Hi, Thanks for opening the issue and helping me to make this actor better. I am trying to find out a solution, but meanwhile you can reduce the memory assigned to avoid this issue

LP

Alpmedia

a month ago

Interesting, I thought more memory would only make it faster.

I will do that. It will be a huge help if this gets fixed ^

curious_coder avatar

Okay, the reason is this - we can't scrape multiple pages simultaneously due to scroll based pagination. so concurrency doesn't go more than 1 If you enable 'Scrape ad details' option, then you can set more RAM and more concurrency, because we can scrape multiple ad details simultaneously

LP

Alpmedia

a month ago

Hey thank you for checking it for me

  • All the runs I listed here didn't turn on "Scrape ad details", so I assume this should not be the problem
  • From my testing, the issue exists when I just run 1 search (Run ID: DYCwksBtZEcjWFo3E )
  • I tested again this morning. The issue remains (Run ID: lDwtebGbF00rprVqT 5Y0PIb4pTxtRbzgcG ). Scraping stopped under 1000 results for "The actor is unusually slow. Please report the issue to the developer or try with a different input"

This breaks my client flow, and my client is asking me to consider alternative API...
Hope we can resolve this since it had been working well except the recent 2 weeks

curious_coder avatar

You can't run the actor with single search url but more than 512MB RAM because it will cost me more and reduce my profits. Here are your options:

  • Use low memory like 512MB if you want to scrape single ad search url
  • Pass multiple search urls

You can contact me at heycuriouscoder@gmail.com to discuss more about this and a solution that works both of us

Developer
Maintained by Community

Actor Metrics

  • 461 monthly users

  • 60 stars

  • >99% runs succeeded

  • 4.6 days response time

  • Created in Aug 2023

  • Modified 14 hours ago