This function finds URLs inside of ASCII bytes.

def _ascii_find_urls(bytes, mimetype, extra_tokens=True):
    """ This function finds URLs inside of ASCII bytes. """

    tokens = _tokenize(bytes, mimetype, extra_tokens=extra_tokens)

    return tokens