title: How to get link in script tag
body: <p>I have a website leech using simple_html_dom, when the viewsource has a script, I want to get the <a href="https://link.m3u8" rel="nofollow noreferrer">https://link.m3u8</a> link but I don't know how.</p>
  <pre><code>&lt;script type=&quot;text/javascript&quot;&gt;jQuery(document).ready(function () {
  
  jwplayer.key = &quot;7MeMRClEneUmFoHRO3u3ypzAZXlVgNtBE2pKDw==&quot;;
  var reconnectTime = 0;
  var video_url = &quot;https://link.m3u8&quot;;
  function setup_play(video_url){
              if (window.player){
                  if (window.mypeer){
                      try{
                          window.mypeer.detach(window.player)
                      }catch (e) {
                          console.log(&quot;Error detach player&quot;)
                          console.error(e)
                      }
                  }
              }
              }
  });&lt;/script&gt;
  </code></pre>
  <p>Can any senior help me?</p>