Basketball-reference-web-scraper

Latest version: v4.15.2

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

4.9.4

Changes from 199 where the search API was returning a player's name with extra whitespace characters.

4.9.3

Resolves 184

In each of the cases mentioned on the issue, the player did not participate for a given season.

In Alonzo Mourning's case it was due to illness

<img width="1162" alt="image" src="https://user-images.githubusercontent.com/8136030/83691823-d55a7300-a5c0-11ea-928b-e9c0311c880d.png">

In Dominique Wilkins' case it was due to playing in other professional leagues

<img width="1067" alt="image" src="https://user-images.githubusercontent.com/8136030/83691854-e60ae900-a5c0-11ea-8f5b-ecc1a0478772.png">

And in Rick Barry's case it was for legal reasons

<img width="1111" alt="image" src="https://user-images.githubusercontent.com/8136030/83691927-0175f400-a5c1-11ea-9b25-1670b5fa6d83.png">

So when parsing leagues from a player's page (when search redirects to player's page when they are only matching result) check to see if league is `None`.

4.9.2

Upgrade `lxml` to latest version.

4.9.1

Summary

The relevant changes to the API are around

1. Fixing player names in season total tables
* Basketball Reference started adding `*` to the end of player names. The related changes (176) strip out these `*` values
1. Fixing a `utf-8` encoding issue for Windows machines (173) where `CSV` and `JSON` files need to have their `encoding` argument specified as `utf8` (180)

There are also changes related to creating an `HTTPService` and `ParserService` but these should not have any implications on the behavior of the external API.

4.9.0

Summary

163 addresses issue 92 which allows end-users to fetch combined player advanced season statistics.

Before this change, advanced season statistics were for a given player / team / season combination (so `Jimmy Butler`, while playing for the `Philadelphia 76ers` in the `2017-2018` season).

Now, by passing `include_combined_values=True` to the `players_advanced_season_totals` method, end-users will also receive advanced statistic data for players across the entire season.

These records will have the new `is_combined_totals` field set to `true` (while all other records will have this field set to `false`).

Additionally, these records will have a `null` `team` field associated with them.

4.8.0

Implements a client method that supports returning values from Basketball Reference's `search` page (example URL: https://www.basketball-reference.com/search/search.fcgi?search=ko).

An implementation challenge was supporting Basketball Reference's behavior of going directly to a specific page when a single result is returned by a search term.

PR: 136
Issue: 134

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.