facebook-ad-library-scraper icon indicating copy to clipboard operation
facebook-ad-library-scraper copied to clipboard

Key Error

Open skylarcheung opened this issue 4 years ago • 2 comments

It would read line 58, in for demo in ad['demographic_distribution']: KeyError: 'demographic_distribution'

Then the code would stop running, any way around this?

skylarcheung avatar Mar 21 '20 20:03 skylarcheung

Also—is there any reason for why the ad limit is set at 5,000? Is there a means of overriding this? I had tried setting the number to something larger, and found that the scraper would just stop running halfway through/

skylarcheung avatar Mar 23 '20 16:03 skylarcheung

It would read line 58, in for demo in ad['demographic_distribution']: KeyError: 'demographic_distribution'

Then the code would stop running, any way around this?

Hey, I run into the same problem. Any fixes? Thanks!

GetReadyForDanny avatar Oct 05 '21 21:10 GetReadyForDanny