from bs4 import BeautifulSoup import requests page = requests.get('https://www.myscore.ru/football/england/premier-league/').content soap = BeautifulSoup(page) test1 = soap.findAll('tr', class = 'stage-finished') 

We need to find the tr tag with the stage-finished class. I can not find a normal method to find.

  • And is he there?) - Alexander
  • Print the page and see. - Alexander

1 answer 1

 from bs4 import BeautifulSoup import requests page = requests.get('https://www.myscore.ru/football/england/premier- league/').content soap = BeautifulSoup(page) tr = soap.findAll('tr', {'class' : 'stage-finished'}, limit=None) print(soap) print(tr.text) print(tr.text)