I'm trying to get the title for this website using BeautifulSoup but i keep getting a type error, how do i fix this? : import requests
import bs4 as BeautifulSoup

page = requests.get('https://www.basketball-reference.com/friv/dailyleaders.fcgi')
soup = BeautifulSoup( page.content, 'html-parser')


print (soup.title)

I've done a similar code to this for class, however im trying to make a webscraper of my own to get the name of the website and the leading scorers in the NBA daily. but the first stwp i'm stuck on is getting the title of the page.