Add missing "@" for socks proxy requests

This commit is contained in:
Ben Busby 2020-10-27 14:11:16 -04:00
parent 66a98c6659
commit 282e879f7e

View File

@ -143,7 +143,7 @@ class Request:
':' + os.environ.get('WHOOGLE_PROXY_PASS')
self.proxies = {
'http': os.environ.get('WHOOGLE_PROXY_TYPE') + '://' +
auth_str + os.environ.get('WHOOGLE_PROXY_LOC'),
auth_str + '@' + os.environ.get('WHOOGLE_PROXY_LOC'),
}
self.proxies['https'] = self.proxies['http'].replace('http', 'https')
else: