title: Scrapy Extract Script Value
body: <p>Using the scrapy shell on a specific url I am trying to identify how I can extract the author value or contributor value out of this script within a pages source code? I have tried</p>
  
  <pre><code>response.xpath('//script').re(r'author":"([0-9.]+)"') 
  </code></pre>
  
  <p>this is the script in the source code of the site</p>
  
  <pre><code>&lt;script charSet="UTF-8"&gt;...
  "author":"3810161","contributor":{"id":"3810161"}},
  &lt;/script&gt;
  </code></pre>