Skip to content
Discussion options

You must be logged in to vote

Answering my own question in case it helps somebody else, and I'm sure there is a more elegant solution but I needed to include the proxy lib, create a proxy object and pass in a simply list of proxies

proxieslist = ['socks5://usrname:password@url:port','socks5://usrname2:password2@url2:port2']

then made

proxies = [Proxy.all(p) for p in proxieslist]

then added proxies when I created the client

client = Client(
emulation=Emulation.Firefox139,
proxies=proxies
)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JonG67x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant