I am using BeautifulSoup and Python to scrape a webpage. I have a BS element,
a = soup.find('div', class_='section lot-details')
which returns a series of list objects as per below.
<li><strong>Location:</strong> WA - 222 Welshpool Road, Welshpool</li>
<li><strong>Deliver to:</strong> Pickup Only WA</li>
I want to return the text after each str
WA - 222 Welshpool Road, Welshpool
Pickup Only WA
How do I get this out of the BS object? I'm unsure of the regex, and also how this interacts with BeautifulSoup.
divreturnli?