we are not able to run your code, but
You need to iterate over the list and append
something like
soup.find_all
will return list and list has no string
attribute.You need to iterate over the list and append
string
attribute for every elementsomething like
streetAddressList = [item.string for item in address]this replace lines 12, 18, 19
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs