I am getting info in html format, n have to store it. by using beautifulsoup in python i can get the specific info but have to mention the class name in the filter. But am not getting any class name of that table. I want a dict like this : {"Product":"Choclate, Honey, Shampoo", "Quantity":"3, 1, 1", "Price":"45 , 32, 16"}
and the sample html is like this:
Product
Quantity
Price
Choclate
3
₹ 45.00
Honey
2
₹ 32.00
Shampoo
1
₹ 16.00
<table align="center" cellspacing="0" cellpadding="6" width="95%" style="border:0;color:#000000;line-height:150%;text-align:left;font:300 14px/30px 'Helvetica Neue',Helvetica,Arial,sans-serif" border=".5px"><thead><tr style="background:#efefef"><th scope="col" width="50%" style="text-align:left;border:1px solid #eee">Product</th>
<th scope="col" width="30%" style="text-align:right;border:1px solid #eee">Quantity</th>
<th scope="col" width="30%" style="text-align:right;border:1px solid #eee">Price</th>
</tr></thead><tbody><tr width="100%"><td width="50%" style="text-align:left;vertical-align:middle;border-left:1px solid #eee;border-bottom:1px solid #eee;border-right:0;border-top:0;word-wrap:break-word">Choclate<br><small></small></td>
<td width="30%" style="text-align:right;vertical-align:middle;border-left:1px solid #eee;border-bottom:1px solid #eee;border-right:0;border-top:0">3</td>
<td width="30%" style="text-align:right;vertical-align:middle;border-left:1px solid #eee;border-bottom:1px solid #eee;border-right:1px solid #eee;border-top:0"><span>₹ 45.00<br><small></small></span></td>
</tr><tr width="100%"><td width="50%" style="text-align:left;vertical-align:middle;border-left:1px solid #eee;border-bottom:1px solid #eee;border-right:0;border-top:0;word-wrap:break-word">Honey<br><small></small></td>
<td width="30%" style="text-align:right;vertical-align:middle;border-left:1px solid #eee;border-bottom:1px solid #eee;border-right:0;border-top:0">2</td>
<td width="30%" style="text-align:right;vertical-align:middle;border-left:1px solid #eee;border-bottom:1px solid #eee;border-right:1px solid #eee;border-top:0"><span>₹ 32.00<br><small></small></span></td>
</tr><tr width="100%"><td width="50%" style="text-align:left;vertical-align:middle;border-left:1px solid #eee;border-bottom:1px solid #eee;border-right:0;border-top:0;word-wrap:break-word">Shampoo<br><small></small></td>
<td width="30%" style="text-align:right;vertical-align:middle;border-left:1px solid #eee;border-bottom:1px solid #eee;border-right:0;border-top:0">1</td>
<td width="30%" style="text-align:right;vertical-align:middle;border-left:1px solid #eee;border-bottom:1px solid #eee;border-right:1px solid #eee;border-top:0"><span>₹ 16.00<br><small></small></span></td>
</tr></tbody><tfoot><tr><td scope="col" style="text-align:left;vertical-align:middle;border-left:0;border-bottom:0;border-right:0;border-top:0;word-wrap:break-word"></td