def url_join(parts=[]):
    """
    Useful for joining URL fragments to make a single cohesive URL, i.e. for searching. 
    You can see several examples of its use in the `connection.Connection` class.
    """
    parts = [i.strip("/") for i in parts] 
    url = "/".join(parts)
    return url