title: bs4 not giving table
body: <pre><code>URL = 'https://www.basketball-reference.com/leagues/NBA_2019.html'
  content = requests.get(URL)
  soup = BeautifulSoup(content.text, 'html.parser')
  table = soup.find_all('table', {'class' : 'sortable stats_table now_sortable'})
  rows = table.find_all('td')
  for i in rows:
      print(i.get_text())
  </code></pre>
  
  <p>I want to get content of the table with team per game stats from <a href="https://www.basketball-reference.com/leagues/NBA_2019.html" rel="nofollow noreferrer">this website</a> but I got error</p>
  
  <pre><code>&gt;&gt;&gt;AttributeError: 'NoneType' object has no attribute 'find_all'
  </code></pre>