Skip to content

Conversation

@tttgm
Copy link

@tttgm tttgm commented Mar 7, 2022

It seems that basketball-reference now has an empty string as the 'aria-label' for <tr class="thead" > header rows. This change allows these header rows to be skipped as they do not contain any play-by-play data - i.e. has_play_by_play_data() should be False.

It seems that basketball-reference now has an empty string as the 'aria-label' for `<tr class="thead" >` header rows. This change allows these header rows to be skipped as they do not contain any play-by-play data - i.e. `has_play_by_play_data()` should be `False`.
tttgm added 3 commits January 3, 2023 16:57
Includes:
- change regex for team names (page html has changed).
- Extend logic for has_play_by_play_data to exclude rows at zero timestamps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant