docs: def _get_directory_path(context):
      """Get the storage path fro the output."""
      path = os.path.join(settings.BASE_PATH, 'store')
      path = context.params.get('path', path)
      path = os.path.join(path, context.crawler.name)
      path = os.path.abspath(os.path.expandvars(path))
      try:
          os.makedirs(path)
      except Exception:
          pass
      return path