def parse_summary_page(soup):
    """
    read the player summary data from the parsed html of one page.
    return a list of dicts, one per player
    """
    summaries = []
    for row in soup.find_all("tr", attrs={"class": "ng-scope"}):
        if len(row.find_all("a")) != 1:
            continue
        player_summary = {}
        player_summary["name"] = row.find("a").text
        player_summary["team"] = row.find(
            "td", attrs={"data-ng-bind": "item.teamShortName"}
        ).text
        player_summary["position"] = row.find(
            "td", attrs={"data-ng-bind": "item.position"}
        ).text
        player_summary["points"] = row.find(
            "td", attrs={"data-ng-bind": "item.points"}
        ).text
        player_summary["goals"] = row.find(
            "td", attrs={"data-ng-bind": "item.goals"}
        ).text
        player_summary["assists"] = row.find(
            "td", attrs={"data-ng-bind": "item.assists"}
        ).text
        player_summary["minutes"] = row.find(
            "td", attrs={"data-ng-bind": "item.minutes"}
        ).text
        player_summary["reds"] = row.find(
            "td", attrs={"data-ng-bind": "item.reds"}
        ).text
        player_summary["yellows"] = row.find(
            "td", attrs={"data-ng-bind": "item.yellows"}
        ).text
        player_summary["saves"] = row.find(
            "td", attrs={"data-ng-bind": "item.saves"}
        ).text
        player_summary["penalties_saved"] = row.find(
            "td", attrs={"data-ng-bind": "item.pensSaved"}
        ).text
        player_summary["penalties_missed"] = row.find(
            "td", attrs={"data-ng-bind": "item.pensMissed"}
        ).text
        player_summary["bonus"] = row.find(
            "td", attrs={"data-ng-bind": "item.bonus"}
        ).text
        player_summary["clean_sheets"] = row.find(
            "td", attrs={"data-ng-bind": "item.cleanSheets"}
        ).text
        player_summary["cost"] = row.find(
            "td", attrs={"data-ng-show": "seasonId == 1"}
        ).text
        summaries.append(player_summary)
    return summaries