title: Goutte to get script element by type
body: <p>I am trying to use Goutte to get the contents of a page, when veiwing the source there is a script that I want to get the contents of all the code in  ... </p>
  
  <pre><code>&lt;script type='application/ld+json'&gt;
  "@context" : "http://schema.org",
  "@type" : "LocalBusiness",
  "name" : "Example",
  &lt;/script&gt;
  </code></pre>
  
  <p>I am using something like this, which works for html elements but not the script element. </p>
  
  <pre><code>        $crawler-&gt;filter('.main_content')-&gt;each(function ($node) {
  </code></pre>
  
  <p>Once I have got the contents, I want to explode it by each element.</p>
  
  <p>Any idea's?</p>