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

NFL: correct home_name and away_name BOXSCORE_SCHEME #725

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sportsipy/nfl/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@
BOXSCORE_SCHEME = {
'game_info': 'div[class="scorebox_meta"]:first',
'game_details': 'table#game_info tr',
'home_name': 'a[itemprop="name"]:first',
'home_name': 'div[class="linescore_wrap"] table tbody tr:last td:nth-child(2)',
'summary': 'table[class="linescore nohover stats_table no_freeze"]:first',
'team_stats': 'table#team_stats thead',
'away_name': 'a[itemprop="name"]:last',
'away_name': 'div[class="linescore_wrap"] table tbody tr:first td:nth-child(2)',
'away_points': 'div[class="scorebox"] div[class="score"]',
'away_first_downs': 'td[data-stat="vis_stat"]',
'away_rush_attempts': 'td[data-stat="vis_stat"]',
Expand Down