from typing import List
import re


def extract_setlist_songs(setlist: str) -> List[str]:
    """
    Extracts songs from HTML text provided by Phish.net API.

    Parameters:
    ----------
    setlist : str
        Raw HTML provided back by Phish.net API

    Returns
    -------
    List[str]
       List with each element containing song played in set.

    Notes
    -----
    Segues and setlist information are not retained. This currently provides
    back a list but a more useful method may return a DataFrame in the future.
    """
    pater = r"<a.*?>(.+?)</a>"
    return re.findall(pater, setlist)