Add missing "@" for socks proxy requests
This commit is contained in:
parent
66a98c6659
commit
282e879f7e
|
@ -143,7 +143,7 @@ class Request:
|
||||||
':' + os.environ.get('WHOOGLE_PROXY_PASS')
|
':' + os.environ.get('WHOOGLE_PROXY_PASS')
|
||||||
self.proxies = {
|
self.proxies = {
|
||||||
'http': os.environ.get('WHOOGLE_PROXY_TYPE') + '://' +
|
'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')
|
self.proxies['https'] = self.proxies['http'].replace('http', 'https')
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user