7 lines
174 B
Python
7 lines
174 B
Python
import requests
|
|
|
|
proxies = {'https': 'http://localhost:8080', 'http': 'http://localhost:8080'}
|
|
ip = requests.get(url='http://canhasip.com/', proxies=proxies).text
|
|
|
|
print(ip)
|