Any solution equivalent to NodeJS proxy-chain?
The Problem
Chromium command-line args do not allow passing proxy authentication, so trying to connect via a password-authenticated proxy in the wild is impossible without further hackery.
So this works:
chromium --proxy-server http://127.0.0.1:3128
This does NOT work:
chromium --proxy-server http://myuser:[email protected]:45678
This article explains the problem in depth: https://blog.apify.com/how-to-make-headless-chrome-and-puppeteer-use-a-proxy-server-with-authentication-249a21a79212/
The NodeJS Solution
https://github.com/apify/proxy-chain/
In a nutshell, during the lifetime of the anonymized proxy object, opens an anonymous (open) proxy on 127.0.0.1 on a random port and it forwards all requests on to the authenticated HTTP proxy on the open Internet.
Does a similar Rust package exist that makes using an authenticated proxy easy with chromiumoxide?
I am wondering the same question🧐
There is not, it would be a good addition sister crate but I dont have time to code this. If this is important for you please send a PR.