def _format_credits(cs: str) -> str:
    """
    Format credits data into a search link, if possible
    """
    # no data
    if not cs.strip():
        return ""
    # multiple artists, cant search
    elif "｜" in cs:
        return cs
    else:
        search_link: str = (
            r"https://www.nhk.or.jp/minna/search/?keyword={}&opt=all".format(cs)
        )
        return f'=HYPERLINK("{search_link}", "{cs}")'