@marquezj We currently have 4 notebooks grabbing data from EXFOR via the web API, and they consistently seem to die in CI, e.g. https://github.com/mctools/ncrystal/actions/runs/25317982331/job/74220185533
Investigating a bit, it seems that a URL like the following
https://nds.iaea.org/exfor/x4get?DatasetID=40207005&op=csv
works when I paste it in my browser, but if I try to grab it via wget it fails:
$> wget 'https://nds.iaea.org/exfor/x4get?DatasetID=40207005&op=csv'
--2026-05-04 14:40:00-- https://nds.iaea.org/exfor/x4get?DatasetID=40207005&op=csv
Resolving nds.iaea.org (nds.iaea.org)... 172.66.138.10, 172.66.133.69, 2606:4700:10::ac42:8545, ...
Connecting to nds.iaea.org (nds.iaea.org)|172.66.138.10|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2026-05-04 14:40:00 ERROR 403: Forbidden.
So a guess is that the exfor server started to make "automated" downloads forbidden.
Can we get around this somehow? Are there any licensing issues of downloading a CSV file manually and caching it locally (or in a notebook cell)?
@marquezj We currently have 4 notebooks grabbing data from EXFOR via the web API, and they consistently seem to die in CI, e.g. https://github.com/mctools/ncrystal/actions/runs/25317982331/job/74220185533
Investigating a bit, it seems that a URL like the following
https://nds.iaea.org/exfor/x4get?DatasetID=40207005&op=csv
works when I paste it in my browser, but if I try to grab it via wget it fails:
So a guess is that the exfor server started to make "automated" downloads forbidden.
Can we get around this somehow? Are there any licensing issues of downloading a CSV file manually and caching it locally (or in a notebook cell)?