mercredi 17 novembre 2021

I am Trying to scrape overall product details like brand, ingredient and flavour

Can anyone pls help me to scrape Flavour details as key value pair using beautifulsoup. I am new in this:

Desired output would be Flavour - Green Apple

the html looks like this: Html Code -

<tr class="a-spacing-small">
<td class="a-span3">
    <span class="a-size-base a-text-bold">Flavour</span>
</td>

<td class="a-span9">
    <span class="a-size-base">Green Apple</span>
</td>



Aucun commentaire:

Enregistrer un commentaire