[b]"How to Use a Proxy with Python Requests? (python requests proxy)"[/b] or [b]"Best Practices for Setting Up a P

16 Replies, 888 Views

Pro tip: Use `requests.Session()` with proxies. Saves you from re-authing every time.

Also, if python requests proxy keeps timing out, try lowering the timeout value. Some proxies are slower than snails.

`session.get(url, proxies=proxies, timeout=10)`

Works like a charm for me.

Messages In This Thread



Users browsing this thread: 1 Guest(s)