Consider this as, part of html code that is available
<span class = "titlelink"> 
       <a id = "xyz" onclick= "abc" href="#" title = "View this job 
description"> Associate
        </a> 
</span>

In my spider file ,

item["title"] = hs.xpath(".//span[@class = 'titlelink']/a/").extract() 
gives me the output 

where as 
item["title"] = hs.xpath(".//span[@class = 
'titlelink']/a/text()").extract() results in empty list.

-- 
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.

Reply via email to