This commit is contained in:
2026-04-26 19:30:33 +02:00
parent bbb3e6a2ce
commit 21b84e1be0
10 changed files with 502 additions and 28 deletions
+54
View File
@@ -0,0 +1,54 @@
[
[
"Programerske rešitve in svetovanje",
"N/A"
],
[
"BlazeLink Solutions",
"N/A"
],
[
"CB Programming",
"N/A"
],
[
"GEM Interactive",
"N/A"
],
[
"Bikn",
"N/A"
],
[
"HGI, software & IT solutions",
"N/A"
],
[
"Avdus, Svetovanja na področju it tehnologij, d.o.o.",
"N/A"
],
[
"Airnamics, napredni mehatronski sistemi d.o.o.",
"N/A"
],
[
"Termitnjak doo",
"N/A"
],
[
"RAIS d.o.o.",
"N/A"
],
[
"Kubit d.o.o",
"N/A"
],
[
"Ashlab, računalniško programiranje in svetovanje, d.o.o.",
"N/A"
],
[
"Zelena naložba, poslovno svetovanje, d.o.o.",
"N/A"
]
]
-32
View File
@@ -1,32 +0,0 @@
const file_map = Bun.file("company.json");
const file_map_d = Bun.file("company_d.json");
let smap = "[]";
if(await file_map.exists())
smap = await file_map.text();
let smap_d = "[]";
if(await file_map_d.exists())
smap_d = await file_map_d.text();
let map = new Map<string, string>(JSON.parse(smap))
let map_d = new Map<string, number>(JSON.parse(smap_d));
for (const [name, url] of map) {
if(map_d.has(name)) continue;
const res = await Bun.$`./get_company.sh ${url}`.text();
console.log(res);
map_d.set(name, 1);
break;
}
let smap_e = JSON.stringify(Array.from(map_d.entries()), null, 2);
Bun.write("company_d.json", smap_e);