Dec-09-2023, 11:36 PM
(Dec-09-2023, 02:59 PM)nicoali Wrote: the strange is that ispecting seems empty the div! but the red card appears on websiteIt's load in CSS,but do need this just HTML tag staus.
.event-red-card-indicator__icon { background: url(https://cdn.oddspedia.com/images/static/icons/red-card.svg);I would load source to BS can be eaiser to use when eg find many tags.
soup = BeautifulSoup(browser.page_source, 'lxml') in_play = soup.find_all('div', class_="match-list-item match-list-item--inplay")