i have a function to check https proxies, i need to make a socks4, socks5 ones, what i need to change ?
def checkIp(proxy): try: proxies = urllib3.ProxyManager("http://"+proxy) proxies.urlopen('GET',test_url).read() global counter except HTTPError: counter+=1 print(f"proxy : {proxy} is dead") else: print(proxy+" is alive!") aliveProxy_http.append(proxy)
