Comment

Chris

I use this:

# sample proxy, does not work, set your own proxy
proxies = {"https": "https://381.177.84.291:9040"}

# create session
session = self.requests_retry_session()

 # get request
response = session.get(url, proxies=proxies)

Parent comment

Alex

how to use proxy?

Replies

Alex

Thank you, this option also works:
resp = requests_retry_session().post(
    'http://httpbin.org/post',
    proxies= {"http": "http://381.177.84.291:9040"}
)