def _raw_fetch(url, logger):
    '\n    Fetch remote data and return the text output.\n\n    :param url: The URL to fetch the data from\n    :param logger: A logger instance to use.\n    :return: Raw text data, None otherwise\n    '
    ret_data = None
    try:
        req = requests.get(url)
        if (req.status_code == requests.codes.ok):
            ret_data = req.text
    except requests.exceptions.ConnectionError as error:
        logger.warning(error.request)
    return ret_data
Fetch remote data and return the text output.

:param url: The URL to fetch the data from
:param logger: A logger instance to use.
:return: Raw text data, None otherwise
def _raw_fetch(url, logger):
    '\n    Fetch remote data and return the text output.\n\n    :param url: The URL to fetch the data from\n    :param logger: A logger instance to use.\n    :return: Raw text data, None otherwise\n    '
    ret_data = None
    try:
        req = requests.get(url)
        if (req.status_code == requests.codes.ok):
            ret_data = req.text
    except requests.exceptions.ConnectionError as error:
        logger.warning(error.request)
    return ret_data