Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key Error #4

Open
skylarcheung opened this issue Mar 21, 2020 · 2 comments
Open

Key Error #4

skylarcheung opened this issue Mar 21, 2020 · 2 comments

Comments

@skylarcheung
Copy link

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
Copy link
Author

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/

@GetReadyForDanny
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants