code: def _urlretrieve(url, filename):
      
      ctx = create_default_context()
      ctx.check_hostname = False
      ctx.verify_mode = CERT_NONE
  
      with urlopen(url, context=ctx) as u, filename.open('wb') as f:
              f.write(u.read())
docs: urlretrive, but it ignores ssl errors (due to https://portal.g-node.org)