Hi, I have a price field which includes some text. I would like to exclude anything but the price. I have tried the following to no avail.
<span class="priceright secondarytextbold">$117.95 per item</span> Here is my current xpath, which works fine in firebug, however if there is no additional text, it bombs out with null. How would I handle a condition like this? substring-before(.//*[@class='priceright secondarytextbold']/text(),' ') Regards, Brendan -- You received this message because you are subscribed to the Google Groups "scrapy-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/scrapy-users. For more options, visit https://groups.google.com/groups/opt_out.
