class_docstr: Some little helper to deal with cookies
  
  Lazy loading from the shelved dictionary
  
  TODO: this is not multiprocess or multi-thread safe implementation due to shelve auto saving etc
class_docstr_tok: ["Some","little","helper","to","deal","with","cookies","Lazy","loading","from","the","shelved","dictionary","TODO",":","this","is","not","multiprocess","or","multi-thread","safe","implementation","due","to","shelve","auto","saving","etc"]
code: def _get_provider(self, url: str) -> str:
      tld = get_tld(url)
      return tld
  
file_path: datalad/datalad/support/cookies.py
imports: from __future__ import annotations
  import atexit
  import logging
  import os.path
  import shelve
  from pathlib import Path
  from typing import Any, Optional
  import platformdirs
  from datalad.support.exceptions import CapturedException
  from .network import get_tld
label_desc: Use image node_id 5 for calling the CookiesDB obj's underlying member method code with example usage: obj._get_provider(url) and returns: tld