diff --git a/sportsref/nfl/boxscores.py b/sportsref/nfl/boxscores.py index 060d05b..840058a 100644 --- a/sportsref/nfl/boxscores.py +++ b/sportsref/nfl/boxscores.py @@ -231,7 +231,7 @@ def over_under(self): giTable = sportsref.utils.parse_info_table(table) if 'over_under' in giTable: ou = giTable['over_under'] - return float(ou.split()[0]) + return float(re.findall(r'(\d+\.?\d?)\(.+\)', ou)[0]) else: return None