You didn't provide a link to the site in question, but how about trying something like this? (I often mix CSS and XPath for convenience.)
sel.css( 'div#blinks' )[0].xpath( './/text()' ) (I think the circled text is in the div's text node -- if it's in the span, just make the xpath selector start with the span. On Sat, Nov 22, 2014 at 6:35 AM, JEBI93 <[email protected]> wrote: > So i was scraping ecommerce site and i can't figure which Xpath to use in > this div tag:http://i.imgur.com/ltuVfTQ.png > > -- > 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. > -- 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.
