Typo fixed

This commit is contained in:
Profitroll 2023-07-14 12:08:40 +02:00
parent 9d33ca744a
commit d9b72e5ad8
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -6,7 +6,7 @@ const userAgent = require('user-agents');
(async () => { (async () => {
const url = process.argv[2]; const url = process.argv[2];
const binary = argv[3]; const binary = process.argv[3];
const browser = await puppeteer.launch({ executablePath: binary }); const browser = await puppeteer.launch({ executablePath: binary });
const page = await browser.newPage(); const page = await browser.newPage();
await page.setUserAgent(userAgent.random().toString()); await page.setUserAgent(userAgent.random().toString());