This commit is contained in:
Cat /dev/Nulo 2024-08-28 20:54:46 -03:00
parent 3e169a095c
commit 5dbfa0c39c

View file

@ -123,7 +123,7 @@ for (const resource of datasetInfo.result.resources) {
console.info(dir); console.info(dir);
try { try {
const zip = join(dir, "zip"); const zip = join(dir, "zip");
await $`curl -L -o ${zip} ${resource.url}`; await $`curl --retry 8 --retry-delay 5 -L -o ${zip} ${resource.url}`;
await $`unzip ${zip} -d ${dir}`; await $`unzip ${zip} -d ${dir}`;
await rm(zip); await rm(zip);