def _join_url_dir(self, url, *args):
    '\n        Join a URL with multiple directories\n        '
    for path in args:
        url = (url.rstrip('/') + '/')
        url = urljoin(url, path.lstrip('/'))
    return url
Join a URL with multiple directories
def _join_url_dir(self, url, *args):
    '\n        \n        '
    for path in args:
        url = (url.rstrip('/') + '/')
        url = urljoin(url, path.lstrip('/'))
    return url