diff --git a/espn_api/football/league.py b/espn_api/football/league.py index a2dc6f1a..52328bba 100644 --- a/espn_api/football/league.py +++ b/espn_api/football/league.py @@ -282,7 +282,7 @@ def player_info(self, name: str = None, playerId: int = None): if playerId is None or isinstance(playerId, str): return None params = { 'view': 'kona_playercard' } - filters = {'players':{'filterIds':{'value':[playerId]}, 'filterStatsForTopScoringPeriodIds':{'value':16, "additionalValue":["00{}".format(self.year), "10{}".format(self.year)]}}} + filters = {'players':{'filterIds':{'value':[playerId]}, 'filterStatsForTopScoringPeriodIds':{'value':17, "additionalValue":["00{}".format(self.year), "10{}".format(self.year)]}}} headers = {'x-fantasy-filter': json.dumps(filters)} data = self.espn_request.league_get(params=params, headers=headers)