I am trying to extract the number of players data from this site - https://boardgamegeek.com/boardgame/174430/gloomhaven/stats.
from bs4 import BeautifulSoup as bs
import requests
url2 = "https://boardgamegeek.com/boardgame/174430/gloomhaven"
page3 = requests.get(url2)
s2 = bs(page3.content,"html.parser")
var2 = s2.find_all('span',{'class':'ng-scope ng-isolate-scope'})
When I try to use this code, it always returns an empty list at var2. I even tried to access the 'div' class that the 'span' is a part of, but I still get an empty list. Why is this?
Thanks in advance.