oseymour / ScraperFC

Python package for scraping soccer data from a variety of sources
GNU General Public License v3.0
222 stars 49 forks source link

Fix understat loader issue for newest selenium version #27

Closed obreit closed 11 months ago

obreit commented 12 months ago

Understat scraper crashes due to WebDriver constructor update in newest selenium version (4.10.0 -- see code changes, related SO post).

import ScraperFC as sfc

understat = sfc.Understat()

understat.get_team_links(2023, 'EPL')
Screenshot 2023-07-03 at 15 14 22
oseymour commented 11 months ago

Thank you!