title: cheerio find a text in a script tag
body: <p>I want to extract js script in script tag.</p>
  
  <p>this the script tag :</p>
  
  <pre><code>&lt;script&gt;
    $(document).ready(function(){
  
      $("#div1").click(function(){
        $("#divcontent").load("ajax.content.php?p=0&amp;cat=1");
      });
  
      $("#div2").click(function(){
        $("#divcontent").load("ajax.content.php?p=1&amp;cat=1");
      });
  
    });
  &lt;/script&gt;
  </code></pre>
  
  <p>I have an array of ids like <code>['div1', 'div2']</code>, and I need to extract url link inside it :
  so if i call a function :</p>
  
  <pre><code>getUrlOf('div1');
  </code></pre>
  
  <p>it will return <code>ajax.content.php?p=0&amp;cat=1</code></p>