You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if protocol not in PROTOCOLS: # Ensure protocol validity
raise InvalidProxyProtocol(f"The protocol {protocol} isn't valid! Expected one of: {' ,'.join(PROTOCOLS)}")
if ip is not None or port is not None:
self.local = False # The proxy is not local
if not verify_ip(ip): # Ensure IP validity
raise InvalidProxyIP(f"The provided IP address ({ip}) isn't valid!")
if not verify_port(port): # Ensure port validity
raise InvalidProxyPort(f"The provided port ({port}) isn't valid!")
else:
self.local = True # The proxy is local
The invalid proxy ip and verify ip are not defined
The text was updated successfully, but these errors were encountered:
This code is broken because of other changes I've made. You can remove the verify ip and verify port if statements and the code should work. I will give better support on the finiteCraft code, which has a much better algorithm.
The invalid proxy ip and verify ip are not defined
The text was updated successfully, but these errors were encountered: