Scrapy - encoding issue - scraping out quotes
<p>I have this class:</p>

<pre><code>class PitchforkTracks(scrapy.Spider):
    name = "pitchfork_tracks"
    allowed_domains = ["pitchfork.com"]
    start_urls = [
                    "http://pitchfork.com/reviews/best/tracks/?page=1",
                    "http://pitchfork.com/reviews/best/tracks/?page=2",
                    "http://pitchfork.com/reviews/best/tracks/?page=3",
                    "http://pitchfork.com/reviews/best/tracks/?page=4",
                    "http://pitchfork.com/reviews/best/tracks/?page=5",
    ]
    def parse(self, response):

        for sel in response.xpath('//div[@class="track-details"]/div[@class="row"]'):
            item = PitchforkItem()
            item['artist'] = sel.xpath('.//li/text()').extract_first()  
            item['track'] = sel.xpath('.//h2[@class="title"]/text()').extract_first()  
            yield item
</code></pre>

<p>scraping this item:</p>

<pre><code>&lt;h2 class="title" data-reactid="...&gt;âColoursâ&lt;/h2&gt;
</code></pre>

<p>results, however, print like this:</p>

<pre><code>{'artist': u'The Avalanches', 'track': u'\u201cColours\u201d'}
</code></pre>

<p><strong>where and how</strong> do I strip out the <code>quotes</code>, i.e, <code>\u201c</code> and <code>\u201d</code>?</p>

<p>Inside <code>parse(self, response)</code>, add:</p>

<pre><code>item['track'] = sel.xpath('.//h2[@class="title"]/text()').extract_first().strip(u'\u201c\u201d') 
</code></pre>

python scrapy