There is a problem with using BeautifulSoup
page = urlopen('http://weather.nsu.ru').read() soup = BeautifulSoup (page, "lxml") spans = soup.find_all('span') print(str(spans[0])) Here in the code I want to get an element with the current temperature, but all the time I get an empty element at the output.
<span id="temp"></span> Can someone tell me what's wrong?