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

'NoneType' object has no attribute 'find_all' #14

Open
imakemoneymoves opened this issue Aug 4, 2021 · 0 comments
Open

'NoneType' object has no attribute 'find_all' #14

imakemoneymoves opened this issue Aug 4, 2021 · 0 comments

Comments

@imakemoneymoves
Copy link

imakemoneymoves commented Aug 4, 2021

Describe the bug


AttributeError Traceback (most recent call last)
in
13
14 # loop through each report in the 'myreports' tag but avoid the last one as this will cause an error.
---> 15 for report in reports.find_all('report')[:-1]:
16
17 # let's create a dictionary to store all the different parts we need.

AttributeError: 'NoneType' object has no attribute 'find_all'
Expected behavior
Returns report dictionary
Side Note
Also generally, when I run the scraper in Jupyter Notebook it is very buggy, and I have to run the Grab the Filing XML Summary block multiple times. Do you think this could be due to the SEC throttling our requests?

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

1 participant