I have this code
site = hxs.select(\"//h1[@class=\'state\']\") log.msg(str(site[0].extract()),level=log.ERROR)
The ouput is
I haven't got a scrapy instance running so I couldn't test this; but you could try to use text() within your search expression.
text()
For example:
site = hxs.select("//h1[@class='state']/text()")
(got it from the tutorial)