title: Parse the JavaScript returned from BeautifulSoup
body: <p>I would like to parse the webpage <a href="http://dcsd.nutrislice.com/menu/meadow-view/lunch/">http://dcsd.nutrislice.com/menu/meadow-view/lunch/</a> to grab today's lunch menu. (I've built an Adafruit #IoT Thermal Printer and I'd like to automatically print the menu each day.)</p>
  
  <p>I initially approached this using BeautifulSoup but it turns out that most of the data is loaded in JavaScript and I'm not sure BeautifulSoup can handle it. If you view source you'll see the relevant data stored in <code>bootstrapData['menuMonthWeeks']</code>.</p>
  
  <pre><code>import urllib2
  from BeautifulSoup import BeautifulSoup
  
  url = "http://dcsd.nutrislice.com/menu/meadow-view/lunch/"
  soup = BeautifulSoup(urllib2.urlopen(url).read())
  </code></pre>
  
  <p>This is an easy way to get the source and review.</p>
  
  <p>My question is: what is the easiest way to extract this data so that I can do something with it? Literally, all I want is a string something like:</p>
  
  <blockquote>
    <p>Southwest Cheese Omelet, Potato Wedges, The Harvest Bar (THB), THB - Cheesy Pesto Bread, Ham Deli Sandwich, Red Pepper Sticks, Strawberries</p>
  </blockquote>
  
  <p>I've thought about using webkit to process the page and get the HTML (i.e. what a browser does) but that seems unnecessarily complex. I'd rather simply find something that can parse the <code>bootstrapData['menuMonthWeeks']</code> data.</p>