How to rescue data that does not appear in the source code

I'm trying to retrieve the data that this, in the statistics part, in the url below. But when I try to pull this data, the result does not come from the tag's daughters. That is, it does not come complete.

Url: https://www.sofascore.com/pt/fc-dallas-portland-timbers/mabshPi

Code:
import requests
from bs4 import BeautifulSoup

r = requests.get('https://www.sofascore.com/pt/fc-dallas-portland-timbers/mabshPi')
soup = BeautifulSoup(r.text, 'lxml')
#print(soup.div)
find = soup.find('div', attrs={'class':'js-event-page-statistics-container'})
print(find)

Result:

<div class="js-event-page-statistics-container">
<div class="js-async-include js-event-details-async-content" data-src="/event/8107731/json" data-template="Sofa.Template.templates.details.components.statistics"></div> </div>

I need all the tag's daughters that are that have parent as the 'div.js-event-page-statistics-container'. help?

Thanks for the help.

1 Like