We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The NBA rosters are not being pulled correctly
To Reproduce Sample code which causes an issue.
from sportsipy.nba.teams import Teams ] def findThreePointShooters(event=None,context=None): teams = Teams() for team in teams: roster = team.roster print(roster)
Expected behavior To print all of the rosters in the NBA
Fix A github post mentions changing this:
teams_list = utils._get_stats_table(doc, 'div#all_team-stats-base') opp_teams_list = utils._get_stats_table(doc, 'div#all_opponent-stats-base')
to this:
teams_list = utils._get_stats_table(doc, '#totals-team') opp_teams_list = utils._get_stats_table(doc, '#totals-opponent')
in nba_utils.py
can this be fixed??
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
The NBA rosters are not being pulled correctly
To Reproduce
Sample code which causes an issue.
Expected behavior
To print all of the rosters in the NBA
Fix
A github post mentions changing this:
teams_list = utils._get_stats_table(doc, 'div#all_team-stats-base')
opp_teams_list = utils._get_stats_table(doc, 'div#all_opponent-stats-base')
to this:
teams_list = utils._get_stats_table(doc, '#totals-team')
opp_teams_list = utils._get_stats_table(doc, '#totals-opponent')
in nba_utils.py
can this be fixed??
The text was updated successfully, but these errors were encountered: