proxy-chain
proxy-chain copied to clipboard
does not work in deno, request hangs
import proxyChain from "proxy-chain";
const proxyServer = "pr.oxylabs.io:7777";
const username = "...";
const password = "...";
(async () => {
const proxy = `http://${username}:${password}@${proxyServer}`;
const anonymizedProxy = await proxyChain.anonymizeProxy(proxy);
console.log(anonymizedProxy);
})();
this works with node, but does not in deno (tested with curl -x "http://127.0.0.1:33069" -v http://example.com), replacing the url with the log