Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not work in deno, request hangs #575

Open
uriva opened this issue Feb 10, 2025 · 0 comments
Open

does not work in deno, request hangs #575

uriva opened this issue Feb 10, 2025 · 0 comments

Comments

@uriva
Copy link

uriva commented Feb 10, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant