def _parse_instructors(details):
    """
    Extract instructor names from the course detail page

    Args:
        details(Tag): BeautifulSoup Tag for course details

    Returns:
        list of dict: List of first & last names of each instructor

    """
    try:
        instructors = details.findAll(
            "div", {"class": "field--name-field-learn-more-links"}
        )[-1].findAll("div", {"class": "field__item"})
        return [
            instructor.get_text().strip().split(",", 1)[0].split(" ", 1)
            for instructor in instructors
        ]
    except (AttributeError, IndexError):
        return []