Facebook ad library scraper avatar
Facebook ad library scraper
Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Facebook ad library scraper

Facebook ad library scraper

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

3 days trial then $30.00/month - No credit card required now

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

RE

Duplicates & Limited Retrieval

Closed

rebeccacordioli opened this issue
2 months ago

Hello, there might be an issue with duplicates. When I run the scraper, most ads are recorded twice, resulting in two rows with the same adArchiveID. For example, in this run https://console.apify.com/view/runs/CdPFgTYxD12XpvHGO the only page without duplicates is Burger King UK (can it be because it's the only page with very few ads?) and a couple of ads of Burger King France.

Another issue that I have is that even if I remove the "count = 30" option, the scraper still returns a maximum of 30 ads for each Facebook page (see here https://console.apify.com/view/runs/LugB0ABslfZoWfwN8). Thank you.

curious_coder avatar

Thanks for opening the issue, Let me check and get back to you

curious_coder avatar

You scraped ads from same company's different region pages, so there might be some common ads in all pages ? Also, 30 ads per page limit is because it is only scraping 1st page of ads when scraping by page url. Will let you know once adding support to scrape all pages is added.

Until then you can generate ads search url for each page and scrape them separately. Let me know if you need an example

RE

rebeccacordioli

2 months ago

No, even if it's the same company these pages don't have ads in common, so this is not the reason for the duplicates. In general I am confused because every time I run the scraper I have a different number of results (see the screenshot), even if some runs are just a few minutes apart and the input is exactly the same. Thanks for the suggestion of scraping search urls for each page, let me know when it will be possible to scrape more than 30 ads through the page url.

curious_coder avatar

Thanks for the clarification, will continue investigating further.

curious_coder avatar

Fixed in latest update

Developer
Maintained by Community
Actor metrics
  • 209 monthly users
  • 18 stars
  • 100.0% runs succeeded
  • 17 hours response time
  • Created in Aug 2023
  • Modified 14 days ago