Python 3 code:
import requests from bs4 import BeautifulSoup as BeautifulSoup import json site='http://www.problems.ru/view_problem_details_new.php?id=' index=88018 site=site+str(index) response = requests.get(site) html = response.text soup = BeautifulSoup(html) box= soup.find("div", {"class":"componentboxcontents"}) print (box.findAll('p')) In theory, he should look for all p tags in a particular div 'e, but p tags are empty. What am I doing wrong?