How to Use a Proxy with Python Requests? A Step-by-Step Guide or Best Practices for Setting Up a Pyth

14 Replies, 1032 Views

Fun fact: if your proxy uses SSL interception (common in corps), python requests proxy will fail unless you disable cert verification.

Not ideal, but this works in a pinch:
```python
requests.get(url, proxies=proxy, verify=False)
```
Just don't use it for sensitive stuff!

Messages In This Thread



Users browsing this thread: 1 Guest(s)