I am trying to scrape the water temperature of a lake from the local website with beautifulsoup.
The resulting source code (via show source code in the Chorme Browser) or content by scraping with beautifulsoup is empty.
url = 'https://www.goitzsche-tourismus.de/goitzsche-bitterfeld/specials/172-wassertemperatur/'
page = requests.get(url)
soup = BeautifulSoup(page.content, 'html.parser')
txt = soup.find("div", {"id": "pegel"}).get_text()
print('content:', txt, 'should be here')
result: content: should be here
In the Chrome Developer Tool - console I get the correct result, if I type $0.
Question: How I get the temperature values?
Question: Why don't I see the values in the "basic" source code?
Thanks for some hints