# urllib3
from urllib.request import urlopen, Request
req = Request('https://icanhazip.com')
req.set_proxy('127.0.0.1:9051', 'https')
resp = urlopen(req)
# urllib3
from urllib.request import urlopen, Request
req = Request('https://icanhazip.com')
req.set_proxy('127.0.0.1:9051', 'https')
resp = urlopen(req)