title: Iterate over a list and strip tags in text from nested tags with scrapy
body: <p>I'm testing scrapy and can't figure out how to retrieve plain text without tags in it when it is nested in tags. Here is the URL I test it on:
  <a href="http://www.tripadvisor.com/ShowTopic-g293915-i3686-k8824646-What_s_the_coolest_thing_you_saw_or_did_in_Thailand-Thailand.html" rel="nofollow">http://www.tripadvisor.com/ShowTopic-g293915-i3686-k8824646-What_s_the_coolest_thing_you_saw_or_did_in_Thailand-Thailand.html</a></p>
  
  <p>Desired output:
  <a href="http://www.awesomescreenshot.com/image/566667/ad8bba1f52835dbe8c32c575913e0c39" rel="nofollow">content of the posts as separate elements in the item[body] object</a></p>
  
  <p>My code:</p>
  
  <pre><code>import scrapy
  
  from tripadvisor.items import TripadvisorItem
  
  class TripadvisorSpider(scrapy.Spider):
  [...]
  
  def parse_thread_contents(self, response):
      url = response.url
      item = TripadvisorItem()
      for sel in response.xpath('//div[@class="balance"]'):
          item['body'] = sel.xpath('//div[@class="postBody"]//p').extract()
      yield item
  </code></pre>