def clean_value(x: any) -> any:
    """
    Cleans a value by checking if it's a URL and fetching its content using the WordLift Inspect API.
    """
    if x is not None and not isinstance(x, list):
        return clean_html(x)
    return x

    Cleans a value by checking if it's a URL and fetching its content using the WordLift Inspect API.
    
llama-index-integrations/readers/llama-index-readers-wordlift/llama_index/readers/wordlift/base.py