Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. import requests
  2. proxies = {
  3.  "http": "http://username:authkey@proxy.packetstream.io:31112",
  4.  "https": "http://username:authkey@proxy.packetstream.io:31112"
  5. }
  6.  
  7. r = requests.get("https://ifconfig.co/json", proxies=proxies)
  8. print r.status_code
  9. print r.text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement