code: def _download_url(url, folder, log=False):
      r"""Downloads the content of an URL to a specific folder.
      Args:
          url (string): The url.
          folder (string): The folder.
          log (bool, optional): If :obj:`False`, will not print anything to the
              console. (default: :obj:`True`)
      """
  
      filename = url.rpartition("/")[2]
      filename = (
          filename if filename[0] == "?" else filename.split("?")[0]
      )
      path = osp.join(folder, filename)
  
      if osp.exists(path):  # pragma: no cover
          if log:
              print(f"Using existing file {filename}", file=sys.stderr)
          return path
  
      if log:
          print(f"Downloading {url}", file=sys.stderr)
  
      try:
          os.makedirs(
              osp.expanduser(osp.normpath(folder)), exist_ok=True
          )
      except OSError as e:
          if e.errno != errno.EEXIST and osp.isdir(path):
              raise e
  
      context = ssl._create_unverified_context()
      data = urllib.request.urlopen(url, context=context)
  
      with open(path, "wb") as f:
          f.write(data.read())
  
      return path
  
file_path: spektral/spektral/datasets/dblp.py
imports: import errno
  import os
  import os.path
  import ssl
  import sys
  import urllib
  import numpy
  import scipy.sparse
  from spektral.data import Dataset, Graph
  from spektral.datasets.citation import _preprocess_features
  from spektral.datasets.utils import DATASET_FOLDER
  from spektral.utils import label_to_one_hot
label_desc: Use image node_id 1 for calling a global function with example usage: _download_url(url, folder, log) and returns: path, path