I have this html
<tr class="BgWhite">
<td headers="th6" valign="top">
0070648261<br/>QTY: 3
</td>
</tr>
I want to obtain "0070648261" and "3" separately as in ID = 0070648261 and quantity = 3. I was able to use the code below
container1.find("td", {"headers": "th6"}).text.strip()
to produce this output
0070648261<br/>QTY: 3
but how do I split and the output to get
ID = 0070648261 quantity = 3 ?