I'm trying to scrape data from a website using Beautifulsoup in python, and when I parsed the page, the information that I want to scrape doesn't show up, and instead I see this:
<span class="frwp-debug hidden" style="display: none!important; visibility: hidden!important;">
The parsed html is different from what I see when I inspect the page.
This is my code:
site = "http://www.fifa.com/worldcup/stories/y=2017/m=11/news=australia-2921204.html#World_Cup_History"
hdr = {'User-Agent': 'Mozilla/5.0'}
page = requests.get(site)
soup = BeautifulSoup(page.text, "html.parser")
print(soup.prettify())
How do I scrape the hidden information?