title: Scrapy inside javascript
body: <p>I'm trying to scrape data from <a href="http://apps.cu-citizenaccess.org/" rel="nofollow noreferrer">http://apps.cu-citizenaccess.org/</a></p>
  
  <p>It looks like they are trying to extract data from JSON, so I used code similar to that recommended in <a href="https://stackoverflow.com/questions/19021541/scrapy-scrapping-data-inside-a-javascript">Scrapy, scrapping data inside a javascript</a>.</p>
  
  <p>My current code (using Python 3) is </p>
  
  <pre><code>jsonresponse = json.loads(response.body_as_unicode())
  print(jsonresponse["val.restname"])
  </code></pre>
  
  <p>I was wondering whether it's an error in technique, or whether I should be doing else entirely?</p>