title: How to scrape hyperlink from function inside javascript tag, no elements used in <script> tag. Just a single function inside <script>
body: <p>Bear with me, I am very new to python and scaping but eager to learn.</p>
  <p>I am trying to read a hyperlink which is nested inside a function within  tags using python.</p>
  <p>So far I learned, I can not use BeautifulSoup because the script has to be loaded by a webdriver first.
  I installed selenium (although heavy on the job) &amp; chrome webdriver, and open the link in either headless or full browser.
  Some of the suggestions about scraping JS are i scrape with Regex and/or find_element_by_id().
  There are however no id tags in the script.
  Only thing I can find in the source between the  tags is a $(document).ready(function() which opens up Jplayer and refers to a hyperlink. My goal is to copy/scrape the hyperlink.</p>
  <p>Any ideas how i can scrape from the 'string' of the function so i can select only the part with the hyperlink and store is as variable?</p>