title: Symfony DomCrawler How to search inside Javascript
body: <p>I'm using Goutte to grab the webpage</p>
  
  <p>I use  block to find the node</p>
  
  <pre><code>$data = $crawler-&gt;filter('script');
  </code></pre>
  
  <p>if I want only the first node</p>
  
  <pre><code>$data = $crawler-&gt;filter('script')-&gt;first(); //is that right?
  </code></pre>
  
  <p>then How can I find "A LINK" ? I struck with this js block</p>
  
  <pre><code>&lt;script&gt;
  
     jwplayer( "clipplayer" ).setup({ 
        image: imgurl,
        playlist: [{              
            sources: [{
                bitrate: "640",
                file: "A LINK",
                label: "640SD",
                type: "video/mp4",
                provider: "video"},]                               
        }],               
        width: 728,
        height: 450,
        primary: 'flash'
     });
  
  &lt;/script&gt;
  </code></pre>