I have an HTML inside DIV class content that looks like
<h2>
 <strong>
 Brookstone
 </strong>
 AS20194 Multi-functional Massage Chair
</h2>
My Python code is
soup.find('div',attrs={'class':'content'}).h2.text
And it returns
Brookstone
                         AS20194 Multi-functional Massage Chair
How should I update the codes so it returns
AS20194 Multi-functional Massage Chair
 
     
     
     
    