and .extract() is not giving all the list of the values available  it only 
returns one value.

On Thursday, July 23, 2015 at 5:48:29 PM UTC+5:30, SreeSindhu Sruthi wrote:
>
>
> 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 scrapy-users+unsubscr...@googlegroups.com.
To post to this group, send email to scrapy-users@googlegroups.com.
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