scrapy / scrapely

A pure-python HTML screen-scraping library
1.86k stars 315 forks source link

Wrong tag getting annotated #111

Open jareen1993 opened 6 years ago

jareen1993 commented 6 years ago

i have the following situation. can you guys look into this issue once.

    <span class='a-color-price'>  <-------- desired tag to be annotated as this contains the data
           <span class="currencyINR">   <----- actual tag being annotated and hence outputting wrongly as &nbsp;&nbsp;
                &nbsp;&nbsp;
           </span>
        237.00  <-------- desired data passed for training
    </span>

i tried looking at the code to see if can understand whats going on, but it was slightly hard to find out.

rjunior8 commented 5 years ago

Did you got it?