sigma_coding_youtube icon indicating copy to clipboard operation
sigma_coding_youtube copied to clipboard

'NoneType' object has no attribute 'find_all'

Open imakemoneymoves opened this issue 2 years ago • 0 comments

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?

imakemoneymoves avatar Aug 04 '21 05:08 imakemoneymoves