BeautifulSoup 'NoneType' object has no attribute 'text'
python-forum.io › thread-12775Sep-12-2018, 02:58 AM. Quote: 'NoneType' object has no attribute 'text'. (Sep-12-2018, 02:33 AM)bmccollum Wrote: using Beautiful Soup that all of a sudden is telling me the "NoneType object has no attribute 'text'" messages for all fields that I try to access. And there's definitely data there. I can flip over to the AWS instance and run the ...
Python 3.9 : BeautifulSoup: 'NoneType' object has no ...
python-forum.io › thread-32747##Already have code to pull, and parcer the site into html for findcard in soupurl.find_all('div', class_="v-card"): #Declaring global varibles global wo_span_name global wo_div_phone #grab name w_span_name = findcard.find('a', class_='business-name') wo_span_name = w_span_name.text #grab phone number w_div_phone = findcard.find('div', class ...