I solve the training problem and try to parse the course data with the courser . On the site, almost every tag has a data-reactid attribute. For example:
<td class="td-data" data-reactid="155">10 weeks of study</td> And this code returns None:
import requests from bs4 import BeautifulSoup response = requests.get('https://www.coursera.org/learn/stalinism') soup = BeautifulSoup(response.text, 'html.parser') print(soup.find('td', attrs={'class': 'td-data', 'data-reactid': '155'})) As suggested to me here, this happens because when loading this argument changes the value. Explain what the data-reactid is? Initially data-reactid = 155, but when loaded into request.text, data-reactid = 163. Why is this happening?

