Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue-229 fix play-by-play timestamp parsing #230

Open
wants to merge 4 commits into
base: v4
Choose a base branch
from

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