How to connect to GoProxies via Puppeteer?
PreviousHow to connect to GoProxies via IP Burger extension?NextHow to connect to GoProxies proxy via FoxyProxy?
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Puppeteer is a popular tool for web scraping and parsing.
Below you can find an example of the set-up process
In Puppeteer, under the ‘proxy-server’, update the proxy server IP and port number (i.e. https://proxy.goproxies.com:1080).
Replace the 'USERNAME' and 'PASSWORD' with your credentials
Here's how a full example of a code should look like:
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch({
headless: false,
args: ['--proxy-server=https://proxy.goproxies.com:1080']
});
const page = await browser.newPage();
await page.authenticate({
username: 'USERNAME',
password: 'PASSWORD'
});
await page.goto('https://ip.goproxies.com');
})();
And that's it! You've successfully integrated GoProxies on Puppeteer.