|
|
|
@ -10,6 +10,8 @@ import fs from 'fs';
|
|
|
|
|
|
|
|
|
|
|
|
const url = 'https://www.bestbuy.com/gateway/graphql';
|
|
|
|
const url = 'https://www.bestbuy.com/gateway/graphql';
|
|
|
|
const browser_path = 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe';
|
|
|
|
const browser_path = 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe';
|
|
|
|
|
|
|
|
// toggle if on Mac!
|
|
|
|
|
|
|
|
// const browser_path = '/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome';
|
|
|
|
|
|
|
|
|
|
|
|
puppeteer.use(StealthPlugin());
|
|
|
|
puppeteer.use(StealthPlugin());
|
|
|
|
puppeteer.use(AnonymizeUAPlugin());
|
|
|
|
puppeteer.use(AnonymizeUAPlugin());
|
|
|
|
|