Hello! Faced such a problem: BeautifulSoup seems to work, but displays a void (although the page has the desired element). What am I doing wrong? You need to parse the answer (r.text) and if there is a definite word in the answer, output it to print:
r = requests.get ('http://mysite.com/') status = r.status_code if status == 200: soup = BeautifulSoup(r.text) h3 = soup.find_all('слово что я ищу') print(h3) the result of the script is just [], but I would like to see the word you are looking