Advertisement
dereksir

Untitled

Apr 11th, 2024 (edited)
749
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. import httpx
  2.  
  3. # define your proxy settings
  4. proxies = {
  5.     "http://": "http://216.137.184.253:80",
  6.     "https://": "http://216.137.184.253:80"
  7. }
  8.  
  9. # make a request with the specified proxy
  10. r = httpx.get("https://httpbin.io/ip", proxies=proxies)
  11.  
  12. print(r.text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement