Hi all,

This is probably a simple issue for users with more general shell 
experience than I but using scrapy shell in 1.0.3 if I start writing 
multiple lines like

for sel in response.xpath('//ul/li'):
    title = sel.xpath('a/text()').extract()
    link = sel.xpath('a/@href').extract()
    desc = sel.xpath('text()').extract()
    print title, link, desc

in the shell. How do I execute it ? Ctrl Z will prompt me to exit but is 
there actually a way to execute the above code in the shell and if I 
is it a good idea 

-- 
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 https://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to