proxy test

mail@pastecode.io avatar
unknown
python
2 years ago
180 B
3
Indexable
Never
import requests
proxies = {'http': 'https://80.14.219.107:3128', 'https': 'https://80.14.219.107:3128'}
r = requests.get('https://httpbin.org/ip', proxies=proxies)
print(r.text)