mirror of
https://github.com/imputnet/cobalt.git
synced 2026-03-09 07:17:16 -05:00
socks5 support for proxying requests #701
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @catdevnull on GitHub (Jan 30, 2025).
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_PROXYis a socks4/5 proxy, if yes, create the dispatcher using fetch-socks)thanks!
additional context
No response
@catdevnull commented on GitHub (Jan 31, 2025):
i don't actually need this anymore but maybe still would be cool
@hextor1 commented on GitHub (Feb 13, 2025):
Can anyone tell me how to use multiple proxies for each download.?
@catdevnull commented on GitHub (Feb 14, 2025):
@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 commented on GitHub (Feb 14, 2025):
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