DC
Size: a a a
DC
DC
R
R
DC
DC
R
DC
V
R
V
const { JSDOM } = require("jsdom");
JSDOM.fromURL("https://ain.ua/tag/investicii/")
.then(async ({ window }) =>
[...window.document.querySelectorAll(".posts-list li")].map((li) => ({
text: li.textContent.replace(/\s/g, ""),
href: li.querySelector("a").href,
}))
)
.then(console.log);
V
L
const { JSDOM } = require("jsdom");
JSDOM.fromURL("https://ain.ua/tag/investicii/")
.then(async ({ window }) =>
[...window.document.querySelectorAll(".posts-list li")].map((li) => ({
text: li.textContent.replace(/\s/g, ""),
href: li.querySelector("a").href,
}))
)
.then(console.log);
V
R
const { JSDOM } = require("jsdom");
JSDOM.fromURL("https://ain.ua/tag/investicii/")
.then(async ({ window }) =>
[...window.document.querySelectorAll(".posts-list li")].map((li) => ({
text: li.textContent.replace(/\s/g, ""),
href: li.querySelector("a").href,
}))
)
.then(console.log);
L
R
V
R
L