Hello, You can generally test XPath you write in whatever browser you use to develop. For Firefox both Firebug<https://addons.mozilla.org/en-US/firefox/addon/firebug/>and Firepath<https://addons.mozilla.org/en-US/firefox/addon/firepath/?src=search>are indispensable and for Chrome Xpath Helper<https://chrome.google.com/webstore/detail/xpath-helper/hgimnogjllphhhkhlmebbmlgjoejdpjl?hl=en> is crucial.
As for your particular issue, I think you're trying to get the value '5.49' If that's true, and the structure won't change, then this is how I'd go: //tr[@class='first']/td/text() This means: *the test of the td element under the tr elem having the class attribute 'first'* Hope that helps, BE -- 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/d/optout.
