How do i use proxy in web3py?

I'm currently using this method to connect to web3py

infura_url = "https://node.node/asdasdasdasdasd/bsc/mainnet/archive/" # fast
web3 = Web3(Web3.HTTPProvider(infura_url))

How do I enable proxy? say i have proxy at '321.123.121.123:8081'

Read more here:

Content Attribution

This content was originally published by user40780 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: