Cuadrix / puppeteer-page-proxy

Additional module to use with 'puppeteer' for setting proxies per page basis.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I set up proxies for all pages

3024407779 opened this issue · comments

Do you have a way to set up all page IPs? I need to get all page proxies

is anybody there?

Do you have a way to set up all page IPs? I need to get all page proxies

This repo is just to use proxies per page, otherwise you can just use the regular way of setting proxies.
https://www.zyte.com/blog/how-to-use-a-proxy-in-puppeteer/

const pages = await browser.pages();
for (const page of pages) {
    await useProxy(page, 'https://127.0.0.1:443');
}