This commit is contained in:
Nuno Coração
2025-11-03 22:31:06 +00:00
parent 05456d8fdb
commit 121d240da2
294 changed files with 376 additions and 274 deletions

View File

@@ -123,7 +123,7 @@ async function translateFrontMatterTags(block, targetLang, tags) {
await fs.access(dir);
} catch {
await fs.mkdir(dir);
}
console.log(i, user.title, dir);
await fs.writeFile(dir + "/index.md", userMDFile);
@@ -133,6 +133,7 @@ async function translateFrontMatterTags(block, targetLang, tags) {
}
await page.goto(user.url);
await page.screenshot({ path: dir + "/feature.jpg", type: "webp", quality: 50 });
}
}