Typo fixed
This commit is contained in:
parent
9d33ca744a
commit
d9b72e5ad8
@ -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());
|
||||
|
Reference in New Issue
Block a user