Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

168
Views
How to use proxy api with puppeteer

I built a web scraper for ab white using puppeteer, i connected to a proxy server scraper api using the code below

const browser = await puppeteer.launch({
        ignoreHTTPSErrors: true,
        args: [
            `--proxy-server=http://${PROXY_SERVER}:${PROXY_SERVER_PORT}`
        ]
    });

I am also to authenticate the page as shown below.


await page.authenticate({
        username: PROXY_USERNAME,
        password: PROXY_PASSWORD,
      });

Whenever I run my code without proxy, everything goes fine but my session gets blocked after many quick requests. Hence the scraper doesn't finish, but if I run it with the scraper it gets very slow , like it keeps spinning for 15 minutes, or it returns not secure error

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!