Im trying to print the text after the value= field so far the output looks like this.
<div class="controls"><input class="span12 text-bound" id="client_appbundle_prospecttype_name" maxlength="100" name="client_appbundle_prospecttype[name]" required="required" type="text" value="John Smith"/></div>
My code looks like this.
soup = BeautifulSoup(html, 'lxml')
contact = soup.find('div', {"class": "controls"})
print(contact)
How can I print the text following the "value=" so just John Smith
Thanks!