from urllib.request import urlopen


def _fetch_text(url, timeout=0.1):
    """ Turn url into text this url points to.
    """
    try:
        with urlopen(url, timeout=timeout) as resp:
            if 200 <= resp.getcode() < 300:
                return resp.read().decode('utf8')
            else:
                return None
    except IOError:
        return None