1

Back to richard-dern.fr

This commit is contained in:
2025-06-26 14:42:06 +02:00
parent cc4998ae9b
commit 17c5dfd8bf
8 changed files with 1170 additions and 1169 deletions

View File

@@ -2,12 +2,12 @@ const { scrapePage } = require("./lib/puppeteer");
const path = require("path");
(async () => {
const testUrl = "https://richard.dern.ovh";
const screenshotPath = path.join(__dirname, "test_screenshot.png");
const testUrl = "https://richard-dern.fr";
const screenshotPath = path.join(__dirname, "test_screenshot.png");
console.log(`🔍 Testing Puppeteer module on: ${testUrl}`);
const metadata = await scrapePage(testUrl, screenshotPath);
console.log(`🔍 Testing Puppeteer module on: ${testUrl}`);
const metadata = await scrapePage(testUrl, screenshotPath);
console.log("📄 Page metadata:");
console.log(metadata);
console.log("📄 Page metadata:");
console.log(metadata);
})();