the HTML looks like:
<div class="Title">
SIZE
<span class="required-option-group">
(required)
</span>
</div>
my code is: name = soup.find('div', {'class':'Title'}).text.strip()
.
It returns both 'SIZE' and '(required)', but I only want to grab 'SIZE'.
I believe it has a really easy approach, and just wondering if anybody could help me out.
Thanks in advance!