How can I use proxy on cv2.videocapture(url)?

Hey guys I’m new here and didn’t find anything about it here.
I need to get a video from a s3 bucket where I do it localy “cv2.videocapture(url)” works fine, but i need to pass through a the proxy. How could I do that?

Found it on StakOverflow:
You need to set a Windows environment variable named http_proxy to the address of your proxy server and then execute your app.

1 Like

thank you Kashif, but I had the environment variables set but the method still didn’t use it and tried for another route. I really tried every single thing I could but didn’t work.