How to check login requests with proxy authentication in python? -
i use proxy list in python.
but need check if proxy authentication true or false in request.
for example:
f = requests.session() f.proxies.update({'http': 'http://{}:{}@{}:{}'.format(self.config.get('proxy', 'user'), self.config.get('proxy', 'pass'), proxy_row['ip'], proxy_row['port'])}) f.get("{}".format(self.url), timeout=30, verify=false)
1- how check if proxy authentication true or false?
2- have logout after authentication proxy?
Comments
Post a Comment