title: Parsing Javascript In Python
body: <p>I usually use Beautiful Soup to parse html that I need, but I came across some Javascript that I would like to get from <a href="https://swishanalytics.com/optimus/nba/daily-fantasy-projections" rel="nofollow noreferrer">here</a>.</p>
  
  <pre><code> &lt;script&gt;
  function Model(){
      this.players = [{".....data......:""}];...etc
  </code></pre>
  
  <p>I tried to load it like...</p>
  
  <pre><code>import json
  scrape_url = "https://swishanalytics.com/optimus/nba/daily-fantasy-projections?date=2016-12-15"
  
  result = json.loads(scrape_url)
  </code></pre>
  
  <p>But I get "No Json Can Be Decoded".  Not sure how to go about this.</p>