import requests


def request_ct(url):
    """Performs a get request that provides a (somewhat) useful error message."""
    try:
        response = requests.get(url)
    except:
        raise IOError(
            "Couldn't retrieve the data, check your search expression or try again later."
        )
    else:
        return response