Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # select a random proxy URL
- random_proxy = random.choice(proxy_urls)
- # make a request using the selected proxy
- with httpx.Client(proxy=random_proxy) as client:
- r = client.get("https://httpbin.io/ip")
- print(r.text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement