def parse_pro_bowls(response):
    """Parse the number of pro bowls that a player has from his profile page."""

    pro_bowls = response.css('#leaderboard_pro_bowls button::text').get()

    if not pro_bowls:
        return 0

    return int(pro_bowls.split(' ')[0])