proxy-chain icon indicating copy to clipboard operation
proxy-chain copied to clipboard

does not work in deno, request hangs

Open uriva opened this issue 11 months ago • 0 comments

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

uriva avatar Feb 10 '25 00:02 uriva