code: def download_urls(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
  
file_path: autogluon/multimodal/src/autogluon/multimodal/cli/prepare_detection_dataset.py
imports: import argparse
  import os
  import shutil
  import requests
label_desc: Use image node_id 4 for calling a global function with example usage: download_urls(urls, root_dir, fnames) and returns: output_paths