def METHOD_NAME(item):
    """
    Get the author's name and website.
    This prefers their custom link over the StockSnap profile.
    The latter is used if the first is not found.
    """
    creator_name = item.get("author_name")
    if creator_name is None:
        return None, None
    creator_url = item.get("author_website")
    if creator_url is None or creator_url in [
        "https://stocksnap.io/",
        "https://stocksnap.io/author/undefined/",
    ]:
        creator_url = item.get("author_profile")
    return creator_name, creator_url