Skip to content

Releases: jaebradley/basketball_reference_web_scraper

4.2.2

07 May 06:07
2f7ce42
Compare
Choose a tag to compare

This release includes #79 and #80.

#79 attempts to handle empty or blank string values for numerical fields while #80 upgrades the urllib3 library to 1.25.2 due to a security vulnerability with versions less than 1.24.2.

4.2.1

02 Apr 14:36
d14c6be
Compare
Choose a tag to compare

As #76 noted, the player season statistics method threw an error because a player's age value was an empty string.

This fix checks to see if the age value is an empty string, and if so, returns None.

4.2.0

04 Mar 07:34
e178261
Compare
Choose a tag to compare

Add player slug to player box score and player season totals (#75)

As #74 pointed out, player box scores and player season totals do not have a unique identifier.

The data-append-csv attribute on a player's name cell should be used - this value is the URI slug for a player's Basketball Reference Page.

4.1.0

06 Jan 03:34
4f366af
Compare
Choose a tag to compare

Add team_box_scores client method that scrapes the Team Total rows from specific game page tables.

This method is called with specific day, month, and year parameters.

PR #71

4.0.0

28 Nov 06:29
Compare
Choose a tag to compare
  • Raise InvalidSeason error when season schedule response code 404s (#49 )
  • Raise InvalidSeason error when player season totals response code 404s (#58)
  • Parse player season total positions as list (#60)
  • Parse season total team enum as string (#63)
  • Raise InvalidDate error for non-200 player box score responses (#64)
  • Fix Schedule Parser (#66)

3.1.3

23 Nov 06:14
Compare
Choose a tag to compare

Fix schedule parsing for future games - specifically how game scores were being parsed (#48 and #61 )

3.1.2

23 Nov 06:18
2bf0a26
Compare
Choose a tag to compare

#55 adds the "F", "G-F", "F-C", "G" positions and hopefully resolves #54

3.1.1

17 Nov 06:20
15cfc0b
Compare
Choose a tag to compare

Resolves #52 - Jimmy Butler's 2018 Phildelphia 76ers Season Totals include the position value F-G.

Normally, it's seemed that a player's season total position values for a particular team are limited to a single position.

Only when a player has played multiple positions for multiple teams over a given season are multiple positions indicated for that player, and only for the player's overall season total row.

Going forward, it might be better to parse that field as a list, if this trend continues.

However, this would be a breaking change and would need to be a major version upgrade.

3.1.0

06 Nov 07:12
83f6ec0
Compare
Choose a tag to compare

Fix CSV output errors for players_season_totals client method.

3.0.0

06 Nov 05:05
beca0a8
Compare
Choose a tag to compare

The V3 version of basketball_reference_web_scraper.

It contains an updated API for getting season schedules, player box scores, and player season totals.

It allows for output to Python data structures, JSON output (both in-memory and to a file), and CSV output (to a file, only).