diff --git a/torrequest.py b/torrequest.py index eab1a2d..3494695 100644 --- a/torrequest.py +++ b/torrequest.py @@ -26,7 +26,7 @@ def __init__(self, self.session = requests.Session() self.session.proxies.update({ 'http': 'socks5://localhost:%d' % self.proxy_port, - 'https': 'socks5://localhost:%d' % self.proxy_port, + 'https': 'socks5h://localhost:%d' % self.proxy_port, }) def _tor_process_exists(self):