Scrapy .css select element with a specific attribute name and value
<p>How can Scrapy be used to select the text of an element that has a particular attribute name and value?</p>

<p>For example,</p>

<pre><code>&lt;span property="city"&gt;Montreal&lt;/span&gt;
</code></pre>

<p>I tried the following but received a <code>None</code></p>

<pre><code>response.css('.span[property="city"]::text').extract_first() 
</code></pre>