Skip to content

v3.2.0

Latest
Compare
Choose a tag to compare
@oseymour oseymour released this 05 Dec 04:01

FBref

  • Added Saudi Pro League
  • Added logic to handle a case where some match pages have the date in a different element
  • Fixed an issue where some matches that have been abandoned/forfeit have an "*" next to a team's score. Scores are now parsed as strings, not ints, to accommodate this.
  • Changed some of the logic in scrape_stats() to better handle Big 5 Leagues competition vs. not
  • Added a warning that prints if player stats tables don't load in time (usually because they're not present for a certain stat in certain year-league)
  • Added some tests

Oddsportal

  • Removed this module's file (it was never imported)

Sofascore

  • Added Saudi Pro League
  • Added a scrape_match_shots() function
  • Changed some warning text if requests don't get status code 200
  • Added a common function to check match URL/IDs and then convert them to ID

Transfermarkt

  • Added code to always close cloudscrapers
  • Added tests

Docs

  • Added a code examples page (replaces the examples.ipynb notebook that was here)

CI/CD

  • Made some changes to the tox test envs
  • Changed how docs build to always build every file, even if it hasn't been changed
  • Added a parallel tox test env. This only works locally, unfortunately. It errored out on GitHub actions.