From d9b72e5ad83d759335a7ec9c24b7dd5a476b1b1f Mon Sep 17 00:00:00 2001 From: profitroll Date: Fri, 14 Jul 2023 12:08:40 +0200 Subject: [PATCH] Typo fixed --- PageSaver/pageSaver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PageSaver/pageSaver.js b/PageSaver/pageSaver.js index 3794373..22bf33b 100644 --- a/PageSaver/pageSaver.js +++ b/PageSaver/pageSaver.js @@ -6,7 +6,7 @@ const userAgent = require('user-agents'); (async () => { const url = process.argv[2]; - const binary = argv[3]; + const binary = process.argv[3]; const browser = await puppeteer.launch({ executablePath: binary }); const page = await browser.newPage(); await page.setUserAgent(userAgent.random().toString());