1

Amélioration de la détection de liens externes morts

This commit is contained in:
2025-10-31 12:41:34 +01:00
parent 7442622c74
commit f8b824c540
7 changed files with 885 additions and 3474 deletions

View File

@@ -0,0 +1,13 @@
const { scrapePage } = require("../lib/puppeteer");
const path = require("path");
(async () => {
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("📄 Page metadata:");
console.log(metadata);
})();