title: AttributeError: 'SelectorList' object has no attribute 'replace'
body: <p>I'm trying to run a Scrapy spider and dump it all into a json file. Here's my code:</p>
  
  <pre><code>import scrapy
  import re
  
  
  class MissleItem(scrapy.Item):
  
      missle_name = scrapy.Field()
      missle_type = scrapy.Field()
      missle_origin = scrapy.Field()
      missle_range = scrapy.Field()
      missle_comments = scrapy.Field()
  
  
  
  class missleSpider(scrapy.Spider):
  
      name = 'missle_list'
      allowed_domains = ['en.wikipedia.org']
      start_urls = ['https://en.wikipedia.org/wiki/...']
  
  
      def parse(self, response):
          table = response.xpath('///div/table[2]/tbody')
          rows = table.xpath('//tr')
          row = rows[2]
          row.xpath('td//text()')[0].extract()
  
          for row in response.xpath('// \
          [@class="wikitable"]//tbody//tr'):
  
              name = {
              'Missle' : row.xpath('td[1]//text()').extract_first(),
              'Type': row.xpath('td[2]//text()').extract_first(),
              'Origin' : 
              row.xpath('td[3]/a//text()').extract_first(), 
              'Range': 
              row.xpath('td[4]//text()').replace(u'\&amp;nbsp;', u' 
              ').extract_first(),  
              'Comments' : 
              row.xpath('td[5]//text()').extract_first()}
  
  
              yield MissleItem(missle_name=name['Missle'], 
                              missle_type=name['Type'], 
                              missle_origin=name['Origin'], 
                              missle_range=name['Range'], 
                              missle_comments=name['Comments'])
  </code></pre>
  
  <p>When I run the previous code, I get:
      AttributeError: 'SelectorList' object has no attribute 'replace'</p>
  
  <p>My question is, how can I return my Range Column without the 'nbsp;' extra output? I tried:</p>
  
  <pre><code>'Range': row.xpath('td[4]//text()').strip().extract_first()
  </code></pre>
  
  <p>But then I got a:</p>
  
  <pre><code>AttributeError: 'SelectorList' object has no attribute 'strip'
  </code></pre>
  
  <p>Any help would be greatly appreciated</p>