title: How to use proxy with Puppeteer (page per page)
body: <p><em>Good day, there was a need to parse a large number of information from one site.</em></p>
  <p>The site has about 500 thousand pages. <strong>I decided to use Puppeteer + Electron + some applied methods for this.</strong> But I ran into a problem that after a while, the site is banned by IP for an hour (not completely banned, but it is no longer possible to register an autoregue, and there is a restriction on one account). I needed to change my IP for each click on the link, or at least register the search of these proxies independently if an error occurred.</p>
  <p>After looking at The puppeteer documentation, <strong>I realized that it gives only one opportunity - to put a proxy through the config (... args: ['--proxy-server=<em>proxy</em>']) and only at the start of the browser</strong>. I decided to use Addons (puppeteer-proxy, puppeteer-page-proxy, etc.) but whether because of my crookedness, or some other problem, they stubbornly did not want to work as I need (the module seems to be connected, and did not give errors, but when it came to it</p>
  <p><strong>So i need module to use proxy per page without restarting puppeteer instance</strong></p>
  <pre><code>    let scrape = async () =&gt; {
          let browser = await puppeteer.launch({headless: false})
          let page = await browser.newPage()
  
          await page.setRequestInterception(true);
  
          page.on('request', async (request) =&gt; {
              await proxyRequest({
                  page,
                  proxyUrl: *my own proxy*,
                  request,
              }); // doesnt working :(
          });
  //parsing
  </code></pre>