title: Getting json data from football site with python
body: <p>I am trying to scrape the website in this link:</p>
  
  <p><a href="https://www.whoscored.com/Players/11119/Show/Lionel-Messi" rel="nofollow noreferrer">https://www.whoscored.com/Players/11119/Show/Lionel-Messi</a></p>
  
  <p>I want to get the data from the Summary, Defensive, Offensive tabs and i tried
  this:</p>
  
  <pre><code>import requests
  # This is the json data link i wish to get from the defensive tab (from developer tools)
  url = "https://www.whoscored.com/StatisticsFeed/1/GetPlayerStatistics?category=summary&amp;subcategory=defensive&amp;statsAccumulationType=0&amp;isCurrent=true&amp;playerId=11119&amp;teamIds=&amp;matchId=&amp;stageId=&amp;tournamentOptions=&amp;sortBy=Rating&amp;sortAscending=&amp;age=&amp;ageComparisonType=&amp;appearances=&amp;appearancesComparisonType=&amp;field=Overall&amp;nationality=&amp;positionOptions=&amp;timeOfTheGameEnd=&amp;timeOfTheGameStart=&amp;isMinApp=false&amp;page=&amp;includeZeroValues=true&amp;numberOfPlayersToPick="
  
  response = requests.get(url)
  
  print(response.json())
  </code></pre>
  
  <p>I can't manage to print the json data and scrape the data I need from the tab, am I doing anything wrong?
  Thanks for the help.</p>