title: Scrape web page and retrieve javascript variables
body: <p>I need to scrape a web page that has a javascript array embeded in inline javascript code, such as:</p>
  
  <pre><code>&lt;script&gt;
      var videos = new Array();
      videos[0] = 'http://myvideos.com/video1.mov'; 
      videos[1] = ....
      ....
  &lt;/script&gt;
  </code></pre>
  
  <p>What's the easiest way to approach this and end up with a PHP array of these video urls?</p>
  
  <p>Edit:
  All videos are .mov extension.</p>