DEV Community

loading...

Using Puppeteer with a proxy

Jordan Hansen
Software engineer and javascript lover. I love the power of the web and getting the data from it with web scraping.
Originally published at javascriptwebscrapingguy.com on ・1 min read

Sample code here

This shows how to use Puppeteer with a proxy using both Luminati and Proxycrawl.

Video guide:

Luminati is a more intense solution that requires a bit more to get set up. They even do a business verification before they’ll allow you to use some of their features. It is the main solution I use for proxies.

Documentation on using Luminati with Puppeteer – https://luminati.io/integration/puppeteer.

Proxycrawl is definitely the easiest solution. It’s going to be a bit slower but you can get up and going in probably about 60 seconds.

Note: I realized right after I ended the video that I wasn’t ever executing the Proxycrawl function. I did run it after I ended, though, and it worked great.

My affiliate links:

Sign up for Luminati here – https://luminati.io/?affiliate=ref\_5f240848c7669177abf8ef2a

Sign up for Proxycrawl here – https://proxycrawl.com/?s=ukQB9Fqz

The post Using Puppeteer with a proxy appeared first on Javascript Web Scraping Guy.

Discussion (0)

Forem Open with the Forem app