change to processUsers script

This commit is contained in:
Nuno Coração 2024-03-20 00:03:07 +00:00
parent c516d2ef6e
commit a7ae2030f0

View file

@ -125,7 +125,6 @@ puppeteer
if (!fs.existsSync(dir)) {
fs.mkdirSync(dir);
}
console.log(i, users[i].title);
fs.writeFileSync(dir + '/index.md', userMDFile);
for (var j in targetLangs) {
@ -135,6 +134,7 @@ puppeteer
await page.goto(users[i].url);
await page.screenshot({ path: dir + "/feature.jpg" });
}
}
await browser.close();