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

socks5 support for proxying requests #1084

Open
catdevnull opened this issue Jan 30, 2025 · 4 comments
Open

socks5 support for proxying requests #1084

catdevnull opened this issue Jan 30, 2025 · 4 comments
Labels
feature request New feature or request

Comments

@catdevnull
Copy link

describe the feature you'd like to see

hi! cobalt currently supports http/s proxies through undici's ProxyAgent. unfortunately, undici's ProxyAgent doesn't support socks4/5 proxies, which are useful as sometimes http/s proxies aren't available.

is there interest in implementing socks4/5 proxies, like with fetch-socks? it should be fairly straight forward (check if API_EXTERNAL_PROXY is a socks4/5 proxy, if yes, create the dispatcher using fetch-socks)

thanks!

additional context

No response

@catdevnull catdevnull added the feature request New feature or request label Jan 30, 2025
@catdevnull
Copy link
Author

i don't actually need this anymore but maybe still would be cool

@hextor1
Copy link

hextor1 commented Feb 13, 2025

Can anyone tell me how to use multiple proxies for each download.?

@catdevnull
Copy link
Author

@hextor1 use a hosted rotating proxy (i know webshare.io has this, and probably others) or modify cobalt to allow rotating proxies by itself.

@hextor1
Copy link

hextor1 commented Feb 14, 2025

rotating

Lets suppose i dont want to use rotating proxies because this one is very costly for me, I have daily 3 million request on my website. can you modify code for me I want to use assign 1 proxies on each download . when user send the request its assign 1 proxies then so on. i will pay you if you help me sir. @catdevnull

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

No branches or pull requests

2 participants