Closed shufinskiy closed 1 year ago
Hello.
I try get schedule EPL 2023-24 from whoscored.com with
import soccerdata as sd ws = sd.Whoscored(leagues="ENG-Premier League", seasons=2023) epl_schedule = ws.read_schedule()
With headless=False all work good, but headless=True code broken on call Whoscored._parse_season_stages() method
headless=False
headless=True
Whoscored._parse_season_stages()
I check ws._driver.page_source and get very strange html about blocking:
ws._driver.page_source
About 3 weeks ago everything was working fine
version package: soccerdata 1.5.1 selenium 4.12.0 undetected-chromedriver 3.5.3 Chrome 117.0.5938.62 Ubuntu 18.04
soccerdata
selenium
undetected-chromedriver
This will have to be fixed in undetected-chromedriver.
Hello.
I try get schedule EPL 2023-24 from whoscored.com with
With
headless=False
all work good, butheadless=True
code broken on callWhoscored._parse_season_stages()
methodI check
ws._driver.page_source
and get very strange html about blocking:About 3 weeks ago everything was working fine
version package:
soccerdata
1.5.1selenium
4.12.0undetected-chromedriver
3.5.3 Chrome 117.0.5938.62 Ubuntu 18.04