facebook-ad-library-scraper
facebook-ad-library-scraper copied to clipboard
Key Error
It would read
Then the code would stop running, any way around this?
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/
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!