def simplify_extracted_title(titles):
    """Simplify titles by removing anything after a vertical bar (usually a site name)"""
    def simplify_single_title(title):
        remove_after = ["|"]  # Add to this list if needed
        for remove_string in remove_after:
            title = title.split(remove_string)[0]
        return title.strip()

    return list(map(simplify_single_title, titles))