code: def _download_videos(scratch_dir):
      tar_path = os.path.join(scratch_dir, "lfw.tgz")
      images_dir = os.path.join(scratch_dir, "lfw")
  
      if not os.path.exists(tar_path):
          logger.info("Downloading dataset to '%s'", tar_path)
          etaw.download_file(
              _VIDEOS_DOWNLOAD_LINK, path=tar_path, verify=False
          )
      else:
          logger.info("File '%s' already exists", tar_path)
  
      logger.info("Unpacking images...")
      etau.extract_tar(tar_path, outdir=scratch_dir, delete_tar=False)
  
      return images_dir
  
file_path: fiftyone/fiftyone/utils/lfw.py
imports: import logging
  import os
  import eta.core.utils
  import eta.core.web
  import fiftyone.core.utils
label_desc: Use image node_id 2 for calling a global function with example usage: _download_videos(scratch_dir) and returns: images_dir