Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import httpx
- # create a client with the specified proxy
- with httpx.Client(proxy="http://216.137.184.253:80") as client:
- # make requests using the client
- r = client.get("https://httpbin.io/ip")
- print(r.text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement