(Dec-11-2023, 04:44 PM)nicoali Wrote: with this i can click on button live but i still cannot scrape all matches logo result and links of matches!There two stats at least after click on live button,here i do a quick test.
live_bt = browser.find_element(By.CSS_SELECTOR, 'div.match-list-sub-nav > div.match-list-filter-buttons > button:nth-child(1)') live_bt.click() time.sleep(3) soup = BeautifulSoup(browser.page_source, 'lxml') in_play = soup.find_all('div', class_="match-list-item match-list-item--inplay") in_play_noscore = soup.find_all('div', class_="match-list-item match-list-item--inplay match-list-item--no-score")So this is correct at time i test now late,only 3 live matches with no score
>>> len(in_play_noscore) 3 >>> len(in_play) 0 >>> print(in_play_noscore[1].text) Inplay Molynes United FC Harbour View FC >>> print(in_play_noscore[2].text) Inplay AS Douanes Nouakchott Inter Nouakchott