Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- proxies = {
- "http": "http://username:authkey@proxy.packetstream.io:31112",
- "https": "http://username:authkey@proxy.packetstream.io:31112"
- }
- r = requests.get("https://ifconfig.co/json", proxies=proxies)
- print r.status_code
- print r.text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement