From ae5724afbc82c9ce50e3c039960bc4dc04a52d96 Mon Sep 17 00:00:00 2001 From: Gordon McCann Date: Fri, 4 Aug 2023 08:35:57 -0400 Subject: [PATCH] Fix #5 --- spspy/data/NuclearData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spspy/data/NuclearData.py b/spspy/data/NuclearData.py index 5e27655..87c69da 100644 --- a/spspy/data/NuclearData.py +++ b/spspy/data/NuclearData.py @@ -53,7 +53,7 @@ def get_excitations(Z: int, A: int) -> list[float]: levels = [] text = '' symbol = global_nuclear_data.get_data(Z, A).isotopicSymbol - site = req.get(f"https://www.nndc.bnl.gov/nudat2/getdatasetClassic.jsp?nucleus={symbol}&unc=nds") + site = req.get(f"https://www.nndc.bnl.gov/nudat3/getdatasetClassic.jsp?nucleus={symbol}&unc=nds") contents = xhtml.fromstring(site.content) tables = contents.xpath("//table") rows = tables[2].xpath("./tr")