@staticmethod
def get_battle_frags(data: list, account_id: str, file_id: int, replay_date:
    str) ->list:
    """
        Extracts the players data from the battle replay
        """
    player_ids = list(data[1].keys())
    player_data = []
    for player_id in player_ids:
        raw_data = data[1][player_id]
        frags = data[2][player_id]['frags']
        player_data.append({'replay_date': replay_date, 'account_id':
            account_id, 'player_id': player_id, 'file_id': file_id,
            'fake_name': raw_data.get('fakeName', 'None'), 'team': raw_data
            ['team'], 'vehicle_type': raw_data['vehicleType'],
            'vehicle_tag': str(raw_data['vehicleType']).split(':')[-1],
            'vehicle_nation': str(raw_data['vehicleType']).split(':')[0],
            'is_alive': raw_data['isAlive'], 'forbid_in_battle_invitations':
            raw_data['forbidInBattleInvitations'], 'igr_type': raw_data[
            'igrType'], 'is_team_killer': raw_data['isTeamKiller'], 'name':
            raw_data['name'], 'frags': frags})
    return player_data
