Skip to content

Commit

Permalink
NFL: correct home_name and away_name BOXSCORE_SCHEME
Browse files Browse the repository at this point in the history
  • Loading branch information
dwalton76 committed May 17, 2022
1 parent fffb7c8 commit e2aabf3
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit e2aabf3

Please sign in to comment.