I'm doing
item['desc'] = site.select('a/text()').extract()
but this will be printed like this
[u'\n A mano libera\n ']
What must I do to tim and remove strange chars like [u'\n , the traling space and '] ?
I cannot trim (strip)
exceptions.AttributeError: 'list' object has no attribute 'strip'
and if converting to string and then stripping, the result was the string above, which I suppose to be in UTF-8