def get_nanopub_urls(ns_root_url: str = None, start_dt: str = None) -> dict:
if not ns_root_url:<EOL><INDENT>ns_root_url = config["<STR_LIT>"]["<STR_LIT>"]["<STR_LIT>"]<EOL><DEDENT>url = f"<STR_LIT>"<EOL>if not start_dt:<EOL><INDENT>start_dt = get_nanopubstore_start_dt(ns_root_url)<EOL><DEDENT>params = {"<STR_LIT>": start_dt, "<STR_LIT>": True}<EOL>r = bel.utils.get_url(url, params=params, cache=False)<EOL>if r and r.status_code == <NUM_LIT:200>:<EOL><INDENT>data = r.json()<EOL>new_start_dt = data["<STR_LIT>"]<EOL>update_nanopubstore_start_dt(ns_root_url, new_start_dt)<EOL>nanopub_urls = {"<STR_LIT>": [], "<STR_LIT>": []}<EOL>for nid in data["<STR_LIT>"]:<EOL><INDENT>nanopub_urls["<STR_LIT>"].append(f"<STR_LIT>")<EOL><DEDENT>for nid in data["<STR_LIT:data>"]:<EOL><INDENT>nanopub_urls["<STR_LIT>"].append(f"<STR_LIT>")<EOL><DEDENT>return nanopub_urls<EOL><DEDENT>else:<EOL><INDENT>log.error(<EOL>f"<STR_LIT>",<EOL>url=url,<EOL>status=r.status_code,<EOL>type="<STR_LIT>",<EOL>)<EOL>return {}<EOL><DEDENT>
Get modified and deleted nanopub urls

    Limited by last datetime retrieved (start_dt).  Modified includes new and updated nanopubs

    Returns:
        dict: {'modified': [], 'deleted': []}