request-boost icon indicating copy to clipboard operation
request-boost copied to clipboard

Proxy support

Open valankar opened this issue 2 years ago • 3 comments

Is it possible to support proxies?

https://requests.readthedocs.io/en/latest/user/advanced/#proxies

valankar avatar Aug 29 '22 06:08 valankar

This looks like something that will be extremely useful, if you want you(@valankar ) can try adding this feature and I will review your pull request!

@talhajunaidd @THE-COB @giubaru Can you guys also look at this?

singhsidhukuldeep avatar Aug 29 '22 07:08 singhsidhukuldeep

@singhsidhukuldeep @valankar please check the PR https://github.com/singhsidhukuldeep/request-boost/pull/8

giubaru avatar Sep 15 '22 23:09 giubaru

Add possibility to define multiple proxies through parameters so each request will use differend proxy with differend protocols same as urls parameter, if you planning to implement this. Example:

proxies = [
{
"http": "socks5://127.0.0.1:8080",
"https": "socks5://127.0.0.1:8080"
},
{
"http": "socks4://127.0.0.1:3333",
"https": "socks4://127.0.0.1:3333"
}]

response = boost_requests(urls=urls, proxies=proxies)

If need help. I can do it myself, just let me know it. Thank you

Hex2424 avatar Feb 07 '23 12:02 Hex2424