CloudProxy
CloudProxy copied to clipboard
TODO: Add proxy support
Proxy Support
Add a proxy parameter that will launch a browser instance and proxy traffic through the server passed in the params.
Notes:
- Per session: https://blog.scrapinghub.com/how-to-use-a-proxy-in-puppeteer
- Per request: https://github.com/gajus/puppeteer-proxy
- Recommend rotating proxies rather than initiating a lot of sessions.
great, i had to do it by myself)
If you’ve already made the necessary changes, feel free to open a PR. I’ll be out of town for a couple days but I’ll merge it when I get back.
Sent with GitHawk
@khorezm0 Do you think you could make a PR request with your changes?
My changes are quite simple so yes i can, i m gonna do it but im not home rn, so i'll do it tomorrow
Great! Thanks for the help!
I'll close this as soon as I update the documentation.
@khorezm0 Actually, I just noticed some changes I think I'll make to cache the proxy authentication when you initiate the instance with sessions.create since it doesn't make sense to keep passing the auth to every request, unless there is a reason you did it that way?
@khorezm0 Actually, I just noticed some changes I think I'll make to cache the proxy authentication when you initiate the instance with
sessions.createsince it doesn't make sense to keep passing the auth to every request, unless there is a reason you did it that way?
No, there is no reasons to it, just didn't thought about it.
Alright, good to know. I'll try to fix this up by the end of the week.
Been lagging on this for a while, this is a reminder for me to look into this SOON!
:)
Does the latest version of CloudProxy support proxy? I added proxy = { "url": "ip:port", "username": "user", "password": "pass" } to CloudProxy request.get but it don't work. I tested with https://whatismyipaddress.com/ website.
Should be not. Once it will, this issue should be closed.
Does the latest version of CloudProxy support proxy? I added
proxy = { "url": "ip:port", "username": "user", "password": "pass" }to CloudProxy request.get but it don't work. I tested with https://whatismyipaddress.com/ website.
Yes it supports proxy, but it should be a proxy without AUTH. Because chrome don't accept user:password on the command line. You should set your proxy to be restricted to your ip.
how to use proxy in CloudProxy ? Help me
how to use proxy in CloudProxy ? Help me
It would be more helpful if you told us what you have tried to get it working.
Have you tried this? https://github.com/NoahCardoza/CloudProxy/pull/13#issuecomment-700149994