def METHOD_NAME(urls, root_dir, fnames=[]):
    output_paths = []
    if isinstance(urls, str):
        urls = [urls]
    for i, url in enumerate(urls):
        output_path = download_one_url(url, root_dir, fname=fnames[i] if fnames else None)
        output_paths.append(output_path)
    return output_paths