Advertisement
dereksir

Untitled

Apr 11th, 2024
932
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. import httpx
  2.  
  3. # create a client with the specified proxy
  4. with httpx.Client(proxy="http://216.137.184.253:80") as client:
  5.     # make requests using the client
  6.     r = client.get("https://httpbin.io/ip")
  7.  
  8. print(r.text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement