Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import httpx
- # define your proxy settings
- proxies = {
- "http://": "http://216.137.184.253:80",
- "https://": "http://216.137.184.253:80"
- }
- # make a request with the specified proxy
- r = httpx.get("https://httpbin.io/ip", proxies=proxies)
- print(r.text)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement